Yes. UserTransaction should rollback any resource involved in the transaction. That 
means the entity beans will be "logically" removed and any use of a reference to one 
should result in an exception.

--Victor


Tom Guan wrote:

> Thanks for your message.  UserTransaction is the answer for me.  One further 
>question is:  I am using stateless session to control access to a remote oracle 
>database, and I am using entity beans to control accesses to local sqlserver 
>database.  I know UserTransaction can cover my stateless session beans, but if it can 
>cover my entity beans too?  I mean, if I roll back, will all the entities beans I 
>created be removed?  I am using ejb2.0 cmp.

===========================================================================
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".

Reply via email to