1. Adding Interceptor to config introduce weird bugs forum.hibernate.orgAuthor Message nodje Post subject: Adding Interceptor to config introduce weird bugs Posted: Mon Sep 05, 2005 7:44 am Regular Joined: Fri Nov 07, 2003 6:31 am Posts: 104 Location: Beijing, China Hi, I recently created an Interceptor to replace the Lifecycle implementation. My application has been running very well so far, for more than 2years now. When I ... |
2. Audit Interceptor bug or expected behaviour forum.hibernate.orgHi, I'm using a session interceptor to detect inserts and updates. When one occurs I do set the dateCreated and dateModified of the entity if the entity is auditable. Here's the onSave method Code: public boolean onSave( Object entity, Serializable id, Object[] currentState, String[] propertyNames, Type[] types ) throws CallbackException ... |