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!

Custom Delete Method

447620Feb 21 2007 — edited Feb 26 2007
Hi,

I have created a custom delete method in my application module that simple deletes the current row selected.

I dropped my delete method on my main page as a button where i a read only tables. based on the selected record, i delete the row.

If the row selected for deletion is referenced by another table as a foreign key, then my method raises an error, however it temporarily deletes the record from the screen. When i start a new session the record is there.

I don't want the method to remove it if there are errors.

I tryed getDBTransaction().cancelDMLOperations(); and getDBTransaction().rollback(); but nothing.

Please help
Antonis
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 26 2007
Added on Feb 21 2007
7 comments
411 views