• Post Reply Bookmark Topic Watch Topic
  • New Topic

Does ejbStore( ) method commits the data in the Datastore

 
mini mehta
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does ejbStore( ) method commits the data in the Datastore. If not then how do u commit data from Entity bean?
 
mustang india
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that depends on what kind of EJB u are using. If it is a BMP then u have to write the JDBC code in the ejbStore() method for data storing. If it is a CMP then it will automaticallyu store the data that is mapped to the table.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!