Code example for EmptyInterceptor

 * This interceptor delegates to others in the chain.  Most of the meat 
 * is in {@link HypericInterceptorTarget}  
public class HypericInterceptor  
    extends EmptyInterceptor 
    private final HibernateInterceptorChain _chainer =  
    private final HypericInterceptorTarget _target =  
        new HypericInterceptorTarget(); 
    public String onPrepareStatement(String sql) { 
        return _chainer.onPrepareStatement(null, _target, sql); 
    public boolean onFlushDirty(Object entity, Serializable id,  
                                Object[] currentState, Object[] previousState,  
Connect your IDE to all the code out there  Get Codota for Java