org.springframework.orm.jpa.JpaSystemException: Exception occurred inside getter of

org.springframework.orm.jpa.JpaSystemException: Exception occurred inside getter of com.xxxx.jpa.drugcatalog.entity.MdmKeyMonitoringCatalog.enabled; nested exception is org.hibernate.PropertyAccessException: Exception occurred inside getter of com.xxxx.jpa.drugcatalog.entity.MdmKeyMonitoringCatalog.enabled

 

属性不一致导致的,比如你定义的是Integer ,在set、 get的时候却写的是 int。如:

org.springframework.orm.jpa.JpaSystemException: Exception occurred inside getter of_第1张图片

你可能感兴趣的:(org.springframework.orm.jpa.JpaSystemException: Exception occurred inside getter of)