Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

POJO entity

user575089May 14 2012 — edited May 16 2012
I have a jpa POJO entity. It has an id field .

I want this id field to be mapped with an auto incremented column of a database table.


What annotation syntax to be used for such POJO id field ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2012
Added on May 14 2012
21 comments
425 views