[jboss-user] [EJB/JBoss] - When and how to start/end a transaction in CMT

jiyanghu do-not-reply at jboss.com
Fri Mar 16 18:31:57 EDT 2007


I am using 3.2.8SP1 with Oracle 9i. In a stateless bean code will find an entity from an entity bean, then set up some new values for it. But in stateless bean it never explicitly invokes entity bean's store (ejbStore) method. So my question is,

1. When does CMT start in this case? How does it know it should initiate a new transaction? Does it start from find method in a stateless bean? What is a CMT's boundary?

2. When is ejbStore() of entity bean called by CMT? Thanks!


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028969#4028969

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028969



More information about the jboss-user mailing list