Could not set property ‘id’ of ‘class com.gct.eduservice.entity.EduSubject’ with value ‘1474747599637463041’ Cause: java.lang.IllegalArgumentException: argument type mismatch
解决方法:
查看id属性
由于我数据库的id为String类型,所以需要设置
type = IdType.ID_WORKER_STR
type = IdType.ID_WORKER是int类型的自增