wood burning stoves 2.0*
The moose likes JDBC and the fly likes PreparedStatement Batch Queries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "PreparedStatement Batch Queries" Watch "PreparedStatement Batch Queries" New topic
Author

PreparedStatement Batch Queries

Jigar M Gohil
Greenhorn

Joined: Dec 14, 2011
Posts: 25
I am preparing a batch using PreparedStatement. I wanted to get the queries for preparing a Rollback Script.

is there any way to get the batch Queries with filled parameters?

Regards,
Jigar Gohil.
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3610
    
  60

Look up "DebuggableStatement" on this FAQ page of ours. Is this what you wanted?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: PreparedStatement Batch Queries