• Post Reply Bookmark Topic Watch Topic
  • New Topic

primaryKey (max) using EJBQL?

 
chuck keuper
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to figure out a way to generate the maximum primaryKey using a QL statement. Is there a way? I keep on running across code that says primaryKey should be created in the EJBcreate with the primaryKey + 1 to retrieve the next primaryKey;
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!