Class Hib3SessionInterceptor
java.lang.Object
org.hibernate.EmptyInterceptor
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3SessionInterceptor
- All Implemented Interfaces:
Serializable
,org.hibernate.Interceptor
hibernate should be able to tell if an assigned key and version
are insert or update, but it cant, so tell it
- See Also:
-
Field Summary
Fields inherited from class org.hibernate.EmptyInterceptor
INSTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionisTransient
(Object entity) boolean
onFlushDirty
(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, org.hibernate.type.Type[] types) boolean
onSave
(Object entity, Serializable id, Object[] state, 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
-
Constructor Details
-
Hib3SessionInterceptor
public Hib3SessionInterceptor()
-
-
Method Details
-
onFlushDirty
public boolean onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, org.hibernate.type.Type[] types) - Specified by:
onFlushDirty
in interfaceorg.hibernate.Interceptor
- Overrides:
onFlushDirty
in classorg.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 interfaceorg.hibernate.Interceptor
- Overrides:
onSave
in classorg.hibernate.EmptyInterceptor
- See Also:
-
EmptyInterceptor.onSave(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
-
isTransient
- Specified by:
isTransient
in interfaceorg.hibernate.Interceptor
- Overrides:
isTransient
in classorg.hibernate.EmptyInterceptor
- See Also:
-
EmptyInterceptor.isTransient(java.lang.Object)
-