hi,
I am new to EJB's. Please solve my basic problem regarding transaction rollbacks:
I have a transaction in which i want to write data to two files: 'personal' and
'official'.
For the two files i have two different beans.( I know that better design would be
to have a single bean, but my problem is better illustrated this way)
Within the client transaction i call create() of 'personal' followed by create()
of 'official'.
If the create of 'official' failed because of some reason, the client transaction
will be rolled back.
But by this time, ejbstore() of 'personal' would already have been called, which
will mean that record has been written to the database. In case of rollback will the
new record written to the 'personal' be deleted or retained.
Sorry for the naive nature of the problem. I would appreciate any kind of help that
you may have to offer regarding the transactions.
Thanks.
Shelly
�������������������������o 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".