Hi,

Programmatically we can not control the Transaction Propagation in some
database components such as Triggers. Participation of database component
in  transactions would typically depend upon the Database Drivers that you
are using.

Given the kind of sophisticated drivers that we use it these days it is
possible to propagate transaction in Triggers.

Regards,
Milind




                    subhendukumar
                    mohanty                  To:     [EMAIL PROTECTED]
                    <subhendukm@INFOS        cc:
                    YS.COM>                  Subject:     Does trigger participates in 
transaction
                    Sent by: A
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <EJB-INTEREST@JAV
                    A.SUN.COM>


                    12/07/2002 07:37
                    AM
                    Please respond to
                    subhendukumar
                    mohanty






hi,

when one of my ejb(stateless) method updates a record in data base(DB2) , a
database trigger is invoked to update some records in different table.The
ejb method has transaction property as "Required" .If some error happens
during updation by trigger , will the transaction rolled back ??

Thanks,
Subhendu

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

Reply via email to