Question about LocalTransaction and Transaction Context
Gurudev Parmar <[email protected]> Fri, 15 Nov 2002 11:08:14 +0530
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am invoking the following in a Bean demarcated Session Bean
method:
method{
....
con = getConnection();
ltx = con.getLocalTransaction();
ltx.begin();
//Do some stuff
ltx.commit();
con.close();
}
My question is do I have to invoke the above "inside"
a Transaction Context , like, between userTransaction.begin()
and commit()?
Thanks,
Gurdev
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff CONNECTOR-INTEREST". For general help, send email to
[email protected] and include in the body of the message "help".