`

detached entity passed to persist

阅读更多

detached entity passed to persist:

经过反复检查。是entity bean的 @Id标记错了。标记到了一个string字段上了

同时,还有一个错误就是,如果对id字段的set方法手工设定数字。也会报错
identifier of an instance of titan.domain.Address was altered from 1 to 22

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics