• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC Transaction Management

 
Dhayakar Tulasi
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to handle TransactionManagement in JDBC?

How to handle batch statements in JDBC?

How to define the save point in batch statements and how to rollback the transaction to particular save point?

Please explain....
 
Rob Spoor
Sheriff
Pie
Posts: 20745
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dhayakar Tulasi wrote:How to handle TransactionManagement in JDBC?

Look for methods in java.sql.Connection regarding committing and rolling back.

How to handle batch statements in JDBC?

Look for methods in java.sql.Statement and java.sql.PreparedStatement regarding batches.

How to define the save point in batch statements and how to rollback the transaction to particular save point?

Look for methods in java.sql.Connection regarding save points and rolling back.
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd also suggest reading Oracle's JDBC tutorial. It's an excellent resource.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic