• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

primary key generation in CMP

 
Andron Dre
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are using sequence for primary key generation. Session bean gets next sequence number and put it into create method of entity bean.
I wonder if it make sense to put this call inside create method and remove pk from parameters list. Please keep in mind that it’s CMP.
thx in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic