• Post Reply Bookmark Topic Watch Topic
  • New Topic

BMP  RSS feed

 
ALaxmi Shankaran
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using one BMP whose persistence is one table whose primary key is autogenerated,
Now in ejbCreate method which way is preferred
whether to use the primary key class ?
or not to pass the primary key field in the insert query (as it is autogenerated it will automatically
insert the incremented value)
 
Damanjit Kaur
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or not to pass the primary key field in the insert query (as it is autogenerated it will automatically
insert the incremented value)


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