If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I'm restoring my MySQL database from java code.
I use Process for running a batch file and i need to roleback if there were any exceptions.
How can I track the exceptions?
Is there any way doing it with jdbc "Statements"?
If you're not going to use stored procedures, then use transactions, savepoints, and rollbacks. It'll probably involve lots of Java if test cases though to see if the statements have executed properly.