• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Transactions  RSS feed

 
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.
 
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.
 
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
Boost this thread!