public class HibernateInterceptor
extends org.hibernate.EmptyInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.ThreadLocal<java.lang.Object> |
entities |
| Constructor and Description |
|---|
HibernateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTransactionCompletion(org.hibernate.Transaction tx) |
int[] |
findDirty(java.lang.Object o,
java.io.Serializable id,
java.lang.Object[] arg2,
java.lang.Object[] arg3,
java.lang.String[] arg4,
org.hibernate.type.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,
org.hibernate.type.Type[] types) |
public int[] findDirty(java.lang.Object o,
java.io.Serializable id,
java.lang.Object[] arg2,
java.lang.Object[] arg3,
java.lang.String[] arg4,
org.hibernate.type.Type[] arg5)
findDirty in interface org.hibernate.InterceptorfindDirty in class org.hibernate.EmptyInterceptorpublic boolean onCollectionUpdate(java.lang.Object collection,
java.io.Serializable key)
throws org.hibernate.CallbackException
onCollectionUpdate in interface org.hibernate.InterceptoronCollectionUpdate in class org.hibernate.EmptyInterceptororg.hibernate.CallbackExceptionpublic boolean onCollectionRecreate(java.lang.Object collection,
java.io.Serializable key)
throws org.hibernate.CallbackException
onCollectionRecreate in interface org.hibernate.InterceptoronCollectionRecreate in class org.hibernate.EmptyInterceptororg.hibernate.CallbackExceptionpublic boolean onCollectionRemove(java.lang.Object collection,
java.io.Serializable key)
throws org.hibernate.CallbackException
onCollectionRemove in interface org.hibernate.InterceptoronCollectionRemove in class org.hibernate.EmptyInterceptororg.hibernate.CallbackExceptionpublic boolean onSave(java.lang.Object entity,
java.io.Serializable id,
java.lang.Object[] state,
java.lang.String[] propertyNames,
org.hibernate.type.Type[] types)
onSave in interface org.hibernate.InterceptoronSave in class org.hibernate.EmptyInterceptorpublic void afterTransactionCompletion(org.hibernate.Transaction tx)
afterTransactionCompletion in interface org.hibernate.InterceptorafterTransactionCompletion in class org.hibernate.EmptyInterceptorGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly