Code example for EmptyInterceptor

Methods: beforeTransactionCompletion

0
    public void afterTransactionCompletion(Transaction tx) {
        super.afterTransactionCompletion(tx);
    } 
 
    public void beforeTransactionCompletion(Transaction tx) {
        super.beforeTransactionCompletion(tx);
    } 
 
    public int[] findDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types) {
        return super.findDirty(entity, id, currentState, previousState, propertyNames,
                               types);
    } 
 
    public Object getEntity(String entityName, Serializable id) {
        return super.getEntity(entityName, id);
    } 
 
    public String getEntityName(Object object) {
        return super.getEntityName(object); 
    }