This content has been marked as final.
Show 2 replies
-
1. Re: CMP Transaction
baumgarten Dec 6, 2004 9:06 AM (in response to vbatista)I've an additional question to that topic:
I've a Session Bean with two methods methodA() and mehtodB(). mehtodA has transaction attribute "required" and mehtodB "requiresNew".
If I call mehtodB from mehtodA by "mehtodB()" mehtodB runs in the same transaction as mehtodA.
If I call mehtodB from mehtodA by "(() sessionContext.getEJBObject()).mehtodB()" mehtodB runs in a new transaction.
What is the difference? Is this J2EE standard or JBoss specific? -
2. Re: CMP Transaction
starksm64 Dec 6, 2004 10:56 AM (in response to vbatista)required, required new semantics are standard j2ee.
the behavior of accessing a cmp getter from a method with supports is undefined and application server specific.