I want to implement something similar to triggers in hibernate.
What I need is when a column in a table attains a specific value, a row should be inserted in another table or some other table should be updated.
How do I implement this in hibernate ?