Hi All,
     I am facing a problem with  the rollback issues of container managed
entity beans. I have a session bean which contains the references of two
entity beans representing two tables(viz. Employee and Department). What I
need to have is the transaction includes a department creation followed by
an employee creation.
Whenever any of the two create fails I need the whole transaction to be
rolled back. Regarding the transaction attributes, I have set the
transaction attribute of the session bean to TX_REQUIRED and for the entity
beans TX_SUPPORTS. But when an employee creation fails after a successful
department creation, the department creation does not rollback. I am using
the WEBSPHERE APPLICATION SERVER 3.5 for bean deployment and Oracle8.1.6 as
our database server.

I hope you got my problem and will be able to help me.

Thanks and regards.

Shubhasis

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