You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matt Raible <ma...@yahoo.com> on 2002/02/27 17:26:17 UTC

[OT] Using Transactions with Tomcat and MySQL

I need to control transactions within my application so I can rollback if
SQLExceptions occur. The MySQL version I'm using supports transactions, as well
as the 2.0.11 driver.

So I'm wondering if I should lookup the javax.transaction.UserTransaction from
JNDI (Tomcat 4.0) or use con.begin(), con.commit(), con.rollback() in my
BusinessDelegate.

ANY advice is appreciated.

Thanks,

Matt

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>