This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have a stored procedure in which i have four insert statements .Now i want to commit each insert statement if it gets successfully executed .By chance if any exception occurs while doing any particular insert i want to rollback each of the inserts so that atomicity exists in the tables.
So how to do this through my java code & where these methods or constants for commit & rollback shoul be written when using the CallableStatement???