This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CMP EJB problem  RSS feed

 
Joe qiang
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created CMP EJB for order processing. OrderId is the primary key and it will automatically be increased by 1 when new order come in. How can I write object sql in ejb-jar.xml to get the maximum number of order id? Is ther any other way to increase orderid every time except use object sql? many thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!