• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transactions

 
MInu
Ranch Hand
Posts: 517
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...

How to handle JDBC transactions in java?

i m using mySql.

Thanks.
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A nice book is there in the market.
"Java Transaction Processing - Mark Little, Jon Maron"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic