Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Primary Key CMP

 
Vinod Kumar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
If my primary key is auto-generated using "sequence" in oracle how should i code my primary key class and map the fields so that create() method calls inserts one record into the table properly.
Regards,
Vinod
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18155
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. This is a problem with CMPs that allegedly will be fixed in future. Try searching this forum for "sequence" and you'll find more on this common problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic