Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

For session beans, we can use the SessionSynchronization interface. For entity beans, how do we have control over a transaction?

0
Posted

For session beans, we can use the SessionSynchronization interface. For entity beans, how do we have control over a transaction?

0

I am developing a BMP Entity bean. I have noticed that whenever I the create method is invoked, the ejbLoad() and the ejbStore() methods are also invoked. I feel that once my database insert is done, having to do a select and update SQL queries is major overhead. is this behavior typical of all EJB containers? Is there any way to suppress these invocations?

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123