In Hibernate I need to change the state of entities from a custom Hibernate interceptor, how do I do this?

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content