previousState « Interceptor « JPA Q&A





2. Interceptor problem: previousState == null in onFlushDirty()    forum.hibernate.org

Hibernate version: 3.2.6.ga Code between sessionFactory.openSession() and session.close(): Code: @Override public boolean onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types) { ...