Hi Prasad,

11.1.2 Transaction model
The Enterprise JavaBeans architecture supports flat transactions. A flat
transaction cannot have any child (nested) transactions.
Note: The decision not to support nested transactions allows vendors of
existing transaction
processing and database management systems to incorporate support for
Enterprise Java-Beans.
If these vendors provide support for nested transactions in the future,
Enterprise Java-Beans
may be enhanced to take advantage of nested transactions.

William Louth

> -----Original Message-----
> From: Durgaprasad Swaminathan [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 20, 2000 12:59 PM
> To:   [EMAIL PROTECTED]
> Subject:      Transactions: TX_REQUIRES_NEW vs Nested Transactions
>
> Hi,
>
> Is a setting of a TX_REQUIRES_NEW transactional attribute same as setting
> up
> a nested transaction?
>
> In case of TX_REQUIRES_NEW, the original transactional thread is suspended
> (
> assuming that there was a txn to start with) and a new tx thread is
> started.
> Does this mean that commit or rollback in the new tx would not affect the
> original tx in any way? If that is so, how is that different from a nested
> txn?
>
> Also, does the setting of TX_REQUIRES_NEW need the underlying resource
> (database) to support this functionality?
>
> Regards,
>
> Prasad
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ==========================================================================
> =
> 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".


***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************

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