Hi All,
As EJB API spec states: The SessionYnchronization interface allows
a session Bean instance to be notified by its container of transaction
boundaries.
Then my question is, if I called a TX_REQUIRED session bean inside
the beforeCompletion() method, should the called session bean use the
same transaction as the calling one?
If it is, it is conflict with the beforeCompletion() (it is supposed
that it should be just before the termination of the current transaction),
while in this scenario, it does not reach the transaction boundary, the
called session bean still uses the current transaction.
If it is not, then it is conflict with TX_REQUIRED attribute, since
the called session bean is still inside the current transaction.
Am I missing any points?
Thanks.
Reagrds
Jinsong Hu
===========================================================================
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".