Hi All,
I'm reading the Sun BluePrints Design Guidelines for J2EE
and came across the following statement, regarding
Transaction management in CMP beans ( section 8.7.4.2 ):
RequiresNew :
If the transaction attribute is set to RequiresNew, the container
invokes the enterprise bean method with a new transaction. If the calling client is
associated with a transac-tion context, the container first suspends the association
of the transaction context with the current thread, then starts a new transaction and
invokes the enterprise
bean�s method. After the method and the transaction complete, the
container resumes the suspended transaction association.
The text mentions that when a method is marked with the
RequiresNew attribute and a client's invocation is associated
with a transaction context, the container susspends the association
and then starts a new one. The question is how this is
achieved in BMP entities or with client transaction demarctation ?
How do I programaticaly ( ? ) suspends the association ?
Thanks,
eyal.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".