PDA

View Full Version : Rollback an executeBatch() stmt?



derby007
April 26th, 2007, 06:21 PM
If I do the nnn.executeBatch() to my Prepared Insert statement, and it executes, BUT if I have another one to do also (nnn1.executeBatch() ) and it Fails, can I then ROLLBACK the 1st statement ????
Note: this is in a Java program, using JDBC to talk to MySQL.