my dog learned polymorphism*
The moose likes Oracle/OAS and the fly likes modifing data when Trigger fires Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "modifing data when Trigger fires" Watch "modifing data when Trigger fires" New topic
Author

modifing data when Trigger fires

ravi v kumar
Ranch Hand

Joined: Dec 14, 2004
Posts: 56
Hi all,

Can we able to modify the data (:NEW) when the trigger fires?

when the trigger fires for insert or delete. i need to update data of that particular empid[example] date to set current_row indicate to Y
i am getting the following exceptions :

Delete Operation : " [DELETE - 0 row(s), 0.080 secs] [Error Code: 4092, SQL State: 42000] ORA-04092: cannot COMMIT in a trigger".

Insert Operation : "ORA-04091: table ALL.JOB is mutating, trigger/function may not see it
ORA-06512: at "ALL.TRIGGER1", line 15
ORA-04088: error during execution of trigger 'ALL.TRIGGER1'".
 
wood burning stoves
 
subject: modifing data when Trigger fires
 
Similar Threads
oracle setting up problem
ORA-21700: object does not exist or is marked for delete
Error on trigger
ORA-01403: no data found + Oracle + Trigger
Hibernate and Triggers