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.Interceptor
findDirty
in class org.hibernate.EmptyInterceptor
public boolean onCollectionUpdate(java.lang.Object collection, java.io.Serializable key) throws org.hibernate.CallbackException
onCollectionUpdate
in interface org.hibernate.Interceptor
onCollectionUpdate
in class org.hibernate.EmptyInterceptor
org.hibernate.CallbackException
public boolean onCollectionRecreate(java.lang.Object collection, java.io.Serializable key) throws org.hibernate.CallbackException
onCollectionRecreate
in interface org.hibernate.Interceptor
onCollectionRecreate
in class org.hibernate.EmptyInterceptor
org.hibernate.CallbackException
public boolean onCollectionRemove(java.lang.Object collection, java.io.Serializable key) throws org.hibernate.CallbackException
onCollectionRemove
in interface org.hibernate.Interceptor
onCollectionRemove
in class org.hibernate.EmptyInterceptor
org.hibernate.CallbackException
public 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.Interceptor
onSave
in class org.hibernate.EmptyInterceptor
public void afterTransactionCompletion(org.hibernate.Transaction tx)
afterTransactionCompletion
in interface org.hibernate.Interceptor
afterTransactionCompletion
in class org.hibernate.EmptyInterceptor
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly