wood burning stoves 2.0*
The moose likes JDBC and the fly likes Transactions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Transactions" Watch "Transactions" New topic
Author

Transactions

MInu
Ranch Hand

Joined: Oct 09, 2003
Posts: 517
Hi...

How to handle JDBC transactions in java?

i m using mySql.

Thanks.


God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
Take a look at java.sql.Connection.setTransactionIsolation().

However, note that not all databases support transactions, and those that do, support different levels. The level of transaction support in MySQL varies depending on the table type you are using, with the default being no transactions. You might want to find out more about your particular database installation before deciding how much to depend on transactions.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
A nice book is there in the market.
"Java Transaction Processing - Mark Little, Jon Maron"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transactions
 
Similar Threads
Are there any JTA implementations available in the market that support nested transac
UserTransaction and EntityTransaction
Ejb Transactions
Resource Local Transactions
web application concurrent access