MySQL Forums
Forum List  »  Triggers

Passing values from EJB layer to triggers
Posted by: Harisankar S
Date: December 01, 2005 12:39AM

Hello.
I am using triggers for an audit trail purpose of some of my tables. Whenever there is a change in these tables, the change is entered in an 'audit' table through a trigger.

Now I want to pass some context specific values from the EJB layer to the 'audit' table. By context specific, what I mean is, only the application knows its meaning. It is not stored in any of the tables. But the trigger need to get them(may be frm EJB layer) to store in the 'audit' table.

I am using kodo jdo for object relational mapping.

Can anyone please give me a helping hand?

Thanks in advance.

Best regards,
Hari

Options: ReplyQuote


Subject
Views
Written By
Posted
Passing values from EJB layer to triggers
2787
December 01, 2005 12:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.