Hi all,
I've an Hibernate Interceptor in order to implement an audit system. I've two columns for insert info on each table, and other two for update info, that I've mapped with inheritance.
I put the inserts/updates into both sets in onSave, onFlushDirty methods, and modifty each entity in preFlush / postFlush methods.
When inserting all it's ok, but when I update, some entities don't get updated.
I'm using Hibernate 3.1.2 with Spring 2.0 on Apache Tomcat 5.5.23.
Any ideas about what can be wrong?
|