• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction in JDBC?

 
Ganesan Ramakrishnan
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to start the transaction using jdbc?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's done by calling "Connection.setAutoCommit(false)". Also check out the Connection.commit() and Connection.rollback() methods.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this link might help.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!