public class EmptyDBInterceptor extends java.lang.Object implements DBInterceptor
限定符和类型 | 字段和说明 |
---|---|
static DBInterceptor |
INSTANCE |
限定符 | 构造器和说明 |
---|---|
protected |
EmptyDBInterceptor() |
限定符和类型 | 方法和说明 |
---|---|
void |
afterTransactionBegin(com.fr.third.org.hibernate.Transaction transaction) |
void |
afterTransactionCompletion(com.fr.third.org.hibernate.Transaction transaction) |
void |
beforeTransactionCompletion(com.fr.third.org.hibernate.Transaction transaction) |
int[] |
findDirty(java.lang.Object o,
java.io.Serializable serializable,
java.lang.Object[] objects,
java.lang.Object[] objects1,
java.lang.String[] strings,
com.fr.third.org.hibernate.type.Type[] types) |
java.lang.Object |
getEntity(java.lang.String s,
java.io.Serializable serializable) |
java.lang.String |
getEntityName(java.lang.Object o) |
java.lang.Object |
instantiate(java.lang.String s,
com.fr.third.org.hibernate.EntityMode entityMode,
java.io.Serializable serializable) |
java.lang.Boolean |
isTransient(java.lang.Object o) |
void |
onCollectionRecreate(java.lang.Object o,
java.io.Serializable serializable) |
void |
onCollectionRemove(java.lang.Object o,
java.io.Serializable serializable) |
void |
onCollectionUpdate(java.lang.Object o,
java.io.Serializable serializable) |
com.fr.third.org.hibernate.Criteria |
onCreateCriteria(com.fr.third.org.hibernate.Criteria criteria)
创建Criteria前
|
com.fr.third.org.hibernate.Query |
onCreateQuery(com.fr.third.org.hibernate.Query query)
创建hql查询前
|
void |
onDelete(java.lang.Object o,
java.io.Serializable serializable,
java.lang.Object[] objects,
java.lang.String[] strings,
com.fr.third.org.hibernate.type.Type[] types) |
boolean |
onFlushDirty(java.lang.Object o,
java.io.Serializable serializable,
java.lang.Object[] objects,
java.lang.Object[] objects1,
java.lang.String[] strings,
com.fr.third.org.hibernate.type.Type[] types) |
boolean |
onLoad(java.lang.Object o,
java.io.Serializable serializable,
java.lang.Object[] objects,
java.lang.String[] strings,
com.fr.third.org.hibernate.type.Type[] types) |
java.lang.String |
onPrepareStatement(java.lang.String s) |
boolean |
onSave(java.lang.Object o,
java.io.Serializable serializable,
java.lang.Object[] objects,
java.lang.String[] strings,
com.fr.third.org.hibernate.type.Type[] types) |
void |
postFlush(java.util.Iterator iterator) |
void |
preFlush(java.util.Iterator iterator) |
public static final DBInterceptor INSTANCE
public com.fr.third.org.hibernate.Criteria onCreateCriteria(com.fr.third.org.hibernate.Criteria criteria)
DBInterceptor
onCreateCriteria
在接口中 DBInterceptor
criteria
- Criteriapublic com.fr.third.org.hibernate.Query onCreateQuery(com.fr.third.org.hibernate.Query query)
DBInterceptor
onCreateQuery
在接口中 DBInterceptor
query
- 查询对象public boolean onLoad(java.lang.Object o, java.io.Serializable serializable, java.lang.Object[] objects, java.lang.String[] strings, com.fr.third.org.hibernate.type.Type[] types) throws com.fr.third.org.hibernate.CallbackException
onLoad
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public boolean onFlushDirty(java.lang.Object o, java.io.Serializable serializable, java.lang.Object[] objects, java.lang.Object[] objects1, java.lang.String[] strings, com.fr.third.org.hibernate.type.Type[] types) throws com.fr.third.org.hibernate.CallbackException
onFlushDirty
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public boolean onSave(java.lang.Object o, java.io.Serializable serializable, java.lang.Object[] objects, java.lang.String[] strings, com.fr.third.org.hibernate.type.Type[] types) throws com.fr.third.org.hibernate.CallbackException
onSave
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public void onDelete(java.lang.Object o, java.io.Serializable serializable, java.lang.Object[] objects, java.lang.String[] strings, com.fr.third.org.hibernate.type.Type[] types) throws com.fr.third.org.hibernate.CallbackException
onDelete
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public void onCollectionRecreate(java.lang.Object o, java.io.Serializable serializable) throws com.fr.third.org.hibernate.CallbackException
onCollectionRecreate
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public void onCollectionRemove(java.lang.Object o, java.io.Serializable serializable) throws com.fr.third.org.hibernate.CallbackException
onCollectionRemove
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public void onCollectionUpdate(java.lang.Object o, java.io.Serializable serializable) throws com.fr.third.org.hibernate.CallbackException
onCollectionUpdate
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public void preFlush(java.util.Iterator iterator) throws com.fr.third.org.hibernate.CallbackException
preFlush
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public void postFlush(java.util.Iterator iterator) throws com.fr.third.org.hibernate.CallbackException
postFlush
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public java.lang.Boolean isTransient(java.lang.Object o)
isTransient
在接口中 com.fr.third.org.hibernate.Interceptor
public int[] findDirty(java.lang.Object o, java.io.Serializable serializable, java.lang.Object[] objects, java.lang.Object[] objects1, java.lang.String[] strings, com.fr.third.org.hibernate.type.Type[] types)
findDirty
在接口中 com.fr.third.org.hibernate.Interceptor
public java.lang.Object instantiate(java.lang.String s, com.fr.third.org.hibernate.EntityMode entityMode, java.io.Serializable serializable) throws com.fr.third.org.hibernate.CallbackException
instantiate
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public java.lang.String getEntityName(java.lang.Object o) throws com.fr.third.org.hibernate.CallbackException
getEntityName
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public java.lang.Object getEntity(java.lang.String s, java.io.Serializable serializable) throws com.fr.third.org.hibernate.CallbackException
getEntity
在接口中 com.fr.third.org.hibernate.Interceptor
com.fr.third.org.hibernate.CallbackException
public void afterTransactionBegin(com.fr.third.org.hibernate.Transaction transaction)
afterTransactionBegin
在接口中 com.fr.third.org.hibernate.Interceptor
public void beforeTransactionCompletion(com.fr.third.org.hibernate.Transaction transaction)
beforeTransactionCompletion
在接口中 com.fr.third.org.hibernate.Interceptor
public void afterTransactionCompletion(com.fr.third.org.hibernate.Transaction transaction)
afterTransactionCompletion
在接口中 com.fr.third.org.hibernate.Interceptor
public java.lang.String onPrepareStatement(java.lang.String s)
onPrepareStatement
在接口中 com.fr.third.org.hibernate.Interceptor