org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.sinosoft.ebusiness.paymentplat
form.model.PayInfo
就是在saveorupdate的时候,没有定义对象的主键
在使用Hibernate进行对象持久化时遇到idsforthisclassmustbemanuallyassignedbeforecallingsave()异常,本文详细解析原因并提供解决方案。
org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.sinosoft.ebusiness.paymentplat
form.model.PayInfo
就是在saveorupdate的时候,没有定义对象的主键
1803

被折叠的 条评论
为什么被折叠?