• Post Reply Bookmark Topic Watch Topic
  • New Topic

Urgent with ejbStore in CMP - PLEASE HELP

 
peter brews
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed CMPS and need to update the row in the database. I know the ejbStore method can be used for it but do not know how to code it.
does anyone have an example code of just the client, remote interface and the Bean implementing the row updation that would greatly help. I have searched on the internet and could not find anything. Please help
 
Dave Cronin
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is CMP you are using, the container is supposed to handle it, after all it is container managed persistence. Probably if you want to ensure a row is updated, you should complete your method calls in a transaction.
It is possible to code ejbStore with BMP though.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!