This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use db sequence to generate primary key for EJB CMP  RSS feed

 
dennis zined
Ranch Hand
Posts: 330
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all. I'm new to EJB and need your help.

I have a database sequence already defined but how do I use it to generate primary key values for my entity bean . I'm using Oracle db and my EJB will be deployed in WebSphere Application Server.

I would appreciate any help.

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!