Forums Register Login

Does ejbStore( ) method commits the data in the Datastore

+Pie Number of slices to send: Send
Does ejbStore( ) method commits the data in the Datastore. If not then how do u commit data from Entity bean?
+Pie Number of slices to send: Send
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.
expectation is the root of all heartache - shakespeare. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 568 times.
Similar Threads
Question about JTA
ejbcreate() and ejbStore()
EJB-QL / findForUpdate methods
Hard ICE question 2
Mock question
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:36:16.