Forums Register Login

ejbStore() problem

+Pie Number of slices to send: Send
Hi ,
i got to update user info in database when the user enters his new info.So do i have to write a seperate query for updating in cmp and if i do then whts the point in cmp or is there a way out where by i can call the store() from the client side or update the database w/o writing a query bymyself.
Pls enlighten
+Pie Number of slices to send: Send
The client can not call ejbStore() explicitly.
The EJB container will take care of that. So, it your client update some info of your CMP entity bean, you can take for granted that the info will be stored in your database. It's up to the container to call the ejbStore() method.
I've never won anything before. Not even a 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 441 times.
Similar Threads
Update database using CMP
ejbLoad() problem
jpa problem
CMP Bean and EJB out of synch
changing datasource at runtime in CMP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:05:32.