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:
- java.io.Serializable, org.hibernate.Interceptor
public class Hib3SessionInterceptor
- extends org.hibernate.EmptyInterceptor
- implements java.io.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 |
Method Summary |
java.lang.Boolean |
isTransient(java.lang.Object entity)
|
boolean |
onFlushDirty(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] currentState,
java.lang.Object[] previousState,
java.lang.String[] propertyNames,
org.hibernate.type.Type[] types)
|
boolean |
onSave(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] state,
java.lang.String[] propertyNames,
org.hibernate.type.Type[] types)
|
Methods inherited from class org.hibernate.EmptyInterceptor |
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onDelete, onLoad, onPrepareStatement, postFlush, preFlush |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hib3SessionInterceptor
public Hib3SessionInterceptor()
onFlushDirty
public boolean onFlushDirty(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] currentState,
java.lang.Object[] previousState,
java.lang.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(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] state,
java.lang.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 java.lang.Boolean isTransient(java.lang.Object entity)
- Specified by:
isTransient
in interface org.hibernate.Interceptor
- Overrides:
isTransient
in class org.hibernate.EmptyInterceptor
- See Also:
EmptyInterceptor.isTransient(java.lang.Object)