> Gabby Tal wrote:
>
> Hi,
> Is there a way to check whether the transaction was successfully committed in an
>Entity bean (consider
> the case of connection failure just before the commit has been executed).
> I need to perform some actions in case of commit failure that can not be performed
>within
> the transaction context.
> (In case of session bean this is simple - one can use bean managed transaction
>demarcation
> when stateless bean is used and implement synchronization interface
> in case of statefull session bean)
>
> Any comment would be appreciated
What you can do is have your entity bean create an instance of a stateful
session bean that implements SessionSynchronization. One of the parameters
to the home.create(...) call for the session bean can be the primary key of
the entity concerned (or any other related information that you require).
________________________________________________________________________________
Evan Ireland Sybase EAServer Engineering [EMAIL PROTECTED]
Wellington, New Zealand +64 4 934-5856
===========================================================================
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".