阅读背景:

在jpa中调用序列的下一个值

来源:互联网 

I have a class mapped as an Entity to persist it in a database. I have an id field as the primary key so every time the object is persisted the value of the id is retrieved from the sequence "myClass_pk_seq", a code like the following one.I have a class mapped as an Entity to persist i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: