A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Databases
»
JDBC
Author
Transaction in JDBC?
Ganesan Ramakrishnan
Ranch Hand
Joined: Mar 18, 2008
Posts: 84
posted
May 19, 2008 03:54:00
0
How to start the transaction using
jdbc
?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35254
7
posted
May 19, 2008 05:38:00
0
That's done by calling "Connection.setAutoCommit(false)". Also check out the Connection.commit() and Connection.rollback() methods.
Android apps
–
ImageJ plugins
–
Java web charts
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1318
I like...
posted
May 19, 2008 05:54:00
0
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter