Joined: Mon Sep 04, 2006 7:16 am Posts: 2
|
Hi All,
I am currently using Hibernate 3.1.3. I have a query with regard to the event listeners which one can configure in hibernate. I have a parent-child class mapping defined in the configuration XML. The parent has a set of child collection and each child class has a many-to-one reference of its associated parent.
Using Hibernate session/transaction APIs I update an attribute of the parent by getting a handle to the reference contained in the child. However hibernate fires the update event only on the parent not on the child class which was used for updating the parent reference.
I suppose this is the default behaviour. Any suggestions on how I can force Hibernate to fire the update event on the child class to update the linkage..?
Thanks.
|
|