In Hibernate I need to change the state of entities from a custom Hibernate interceptor, how do I do this?
Issue
- I need to change the state of other objects in my custom Hibernate interceptor, e.g., I've a situation where an object b fired the Interceptor and I need to change his state and the state of his father (object a).
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.3
-
JBoss Application Server (AS)
- 4.0.5
-
JBoss Hibernate
- 3.2.5
- 3.3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
