Hi Subhashis,
I have used TX_REQUIRESNEW in the session bean and TX_REQUIRED in entity
beans. The transaction works successfully. So, may be you can try with that
combination.
Satya
-----Original Message-----
From: Shubhashis Dasgupta [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 6:35 PM
To: [EMAIL PROTECTED]
Subject: Problem on Transaction
Hi All,
I am facing a problem with transaction from session ejb. It contains two
entity beans reference and I am inserting data to two different table using
the create method of the entity beans from a method of session bean. The
transaction is created and managed from session bean through
javax.transaction.UserTransaction. But I want to know whether it can be done
without making the transaction attribute of the session bean as
TX_BEAN_MANAGED and without using javax.transaction.UserTransaction. If I
make
it TX_REQUIRED and for the entity beans TX_SUPPORTS then its not working.
Hope u help me.
Shubhashis
____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1
===========================================================================
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".
===========================================================================
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".