Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Rollback a transaction in ADF

463056Mar 15 2007 — edited Mar 15 2007
I'm using ADF, JSP, Struts. I have a page to delete a record. If there occurs any error (like child record found) while deleting, I show the error or error page.
The point is I will get the 'Child record found' only when I 'commit' the transaction. So, at this point the record being deleted and committed is locked, and at the same time the record is not deleted because of 'child record found'. I am not able to 'Rollback' as well, since I have already tried to 'commit'. So, the row is in deadlock situation.
All I wanted to do is 'Cancel' the transaction (i.e) cancel the 'Commit' that I have supplied. Please tell me how do cancel an attemped 'commit'.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2007
Added on Mar 15 2007
1 comment
499 views