aspose file tools
The moose likes JDBC and the fly likes Transaction in JDBC? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Transaction in JDBC?" Watch "Transaction in JDBC?" New topic
Author

Transaction in JDBC?

Ganesan Ramakrishnan
Ranch Hand

Joined: Mar 18, 2008
Posts: 84
How to start the transaction using jdbc?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35254
    
    7
That's done by calling "Connection.setAutoCommit(false)". Also check out the Connection.commit() and Connection.rollback() methods.


Android appsImageJ pluginsJava web charts
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1318

this link might help.


Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction in JDBC?
 
Similar Threads
Hibernate Transaction - CMT
JDBC - 1.5 Transaction ?
Disrtibuted Tx using JDBC
What is "Lightweight"?
JDBC Transction over EJB Transaction