1. Interceptor is not being called on all changes forum.hibernate.orgjohnnyRhino wrote: Hi, I am trying to use an Interceptor to capture changes to my objects. This is working great on all changes except updates to lists. ... If I alter the companyName attribute on a company object then flush() the session then the Interceptor.onFlushDirty() method is called. If however I add a new aListClass object to the aList list and ... |
2. Interceptor onFlushDirty and Collections - detecting changes forum.hibernate.orgHi, Can someone help me by giving a little insight into the use of hibernate Interceptors? I using them to notify a number of downstream systems about changes to persisted entities. Doing this via Hibernate Interceptor by extending EmptyInterceptor, and (nearly) all is working well. There seems to be a problem if the item that has changed is a Collection; the ... |
3. Can Hibernate interceptor inspect the changes by others? forum.hibernate.orgI am in the following scenario: I already create the connection to database other than through hibernate (such as through JDBC directly). Now I want to use hibernate monitor the connection and changes to database. Can I do this? if so, how can I do that? Can I use inspector to inspect the changes to the database? Thanks |
4. Tracking changes in update in an interceptor forum.hibernate.orgHi, I am using Spring 1.2 with Hibernate 3.0. I am using Interceptor to detect changes in entity attributes between two revisions for Insert, Update, and Delete operations. The changes will be persisted to table. I have extended EmptyInterceptor and have overridden for update operation the onFlushDirty method. My interceptor was injected onto spring's localsessionfactorybean and is invoked as expected. What ... |