edu.internet2.middleware.grouper.internal.dao.hib3
Class Hib3SessionInterceptor
java.lang.Object
org.hibernate.EmptyInterceptor
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3SessionInterceptor
- All Implemented Interfaces:
- Serializable, org.hibernate.Interceptor
public class Hib3SessionInterceptor
- extends org.hibernate.EmptyInterceptor
- implements Serializable
hibernate should be able to tell if an assigned key and version
are insert or update, but it cant, so tell it
- See Also:
- Serialized Form
Fields inherited from class org.hibernate.EmptyInterceptor |
INSTANCE |
Methods inherited from class org.hibernate.EmptyInterceptor |
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onDelete, onLoad, onPrepareStatement, postFlush, preFlush |
Hib3SessionInterceptor
public Hib3SessionInterceptor()
onFlushDirty
public boolean onFlushDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
org.hibernate.type.Type[] types)
- Specified by:
onFlushDirty
in interface org.hibernate.Interceptor
- Overrides:
onFlushDirty
in class org.hibernate.EmptyInterceptor
- See Also:
EmptyInterceptor.onFlushDirty(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
onSave
public boolean onSave(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
org.hibernate.type.Type[] types)
- Specified by:
onSave
in interface org.hibernate.Interceptor
- Overrides:
onSave
in class org.hibernate.EmptyInterceptor
- See Also:
EmptyInterceptor.onSave(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
isTransient
public Boolean isTransient(Object entity)
- Specified by:
isTransient
in interface org.hibernate.Interceptor
- Overrides:
isTransient
in class org.hibernate.EmptyInterceptor
- See Also:
EmptyInterceptor.isTransient(java.lang.Object)