public class HibernateInterceptor extends EmptyInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.ThreadLocal<java.lang.Object> |
entities |
INSTANCE| Constructor and Description |
|---|
HibernateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTransactionCompletion(Transaction tx) |
int[] |
findDirty(java.lang.Object o,
java.io.Serializable id,
java.lang.Object[] arg2,
java.lang.Object[] arg3,
java.lang.String[] arg4,
Type[] arg5) |
boolean |
onCollectionRecreate(java.lang.Object collection,
java.io.Serializable key) |
boolean |
onCollectionRemove(java.lang.Object collection,
java.io.Serializable key) |
boolean |
onCollectionUpdate(java.lang.Object collection,
java.io.Serializable key) |
boolean |
onSave(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] state,
java.lang.String[] propertyNames,
Type[] types) |
afterTransactionBegin, beforeTransactionCompletion, getEntity, getEntityName, instantiate, isTransient, onDelete, onFlushDirty, onLoad, onPrepareStatement, postFlush, preFlushpublic int[] findDirty(java.lang.Object o,
java.io.Serializable id,
java.lang.Object[] arg2,
java.lang.Object[] arg3,
java.lang.String[] arg4,
Type[] arg5)
findDirty in interface InterceptorfindDirty in class EmptyInterceptorpublic boolean onCollectionUpdate(java.lang.Object collection,
java.io.Serializable key)
throws CallbackException
onCollectionUpdate in interface InterceptoronCollectionUpdate in class EmptyInterceptorCallbackExceptionpublic boolean onCollectionRecreate(java.lang.Object collection,
java.io.Serializable key)
throws CallbackException
onCollectionRecreate in interface InterceptoronCollectionRecreate in class EmptyInterceptorCallbackExceptionpublic boolean onCollectionRemove(java.lang.Object collection,
java.io.Serializable key)
throws CallbackException
onCollectionRemove in interface InterceptoronCollectionRemove in class EmptyInterceptorCallbackExceptionpublic boolean onSave(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] state,
java.lang.String[] propertyNames,
Type[] types)
onSave in interface InterceptoronSave in class EmptyInterceptorpublic void afterTransactionCompletion(Transaction tx)
afterTransactionCompletion in interface InterceptorafterTransactionCompletion in class EmptyInterceptorGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly