Example usage for org.hibernate EmptyInterceptor subclass-usage

List of usage examples for org.hibernate EmptyInterceptor subclass-usage

Introduction

In this page you can find the example usage for org.hibernate EmptyInterceptor subclass-usage.

Usage

From source file ru.runa.wfe.commons.hibernate.CacheInterceptor.java

public class CacheInterceptor extends EmptyInterceptor {
    private static final long serialVersionUID = 1L;

    private boolean isOracleDatabase() {
        return ApplicationContextFactory.getDBType() == DbType.ORACLE;
    }

From source file se.sperber.cryson.hibernate.CrysonInterceptor.java

@Component
public class CrysonInterceptor extends EmptyInterceptor {

    @Autowired
    private DefaultListableBeanFactory defaultListableBeanFactory;

From source file se.sperber.cryson.testutil.CrysonTestInterceptor.java

@Component
public class CrysonTestInterceptor extends EmptyInterceptor {

    @Override
    public boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) {
        return false; // TODO: test stuff

From source file uk.org.rbc1b.roms.db.AuditInterceptor.java

/**
 * Hibernate interceptor to add the user id and timestamp to any updates if the table supports it.
 * @author oliver.elder.esq
 */
public class AuditInterceptor extends EmptyInterceptor {
    private static final long serialVersionUID = 5012613778658433063L;

From source file us.mn.state.health.lims.hibernate.resources.interceptor.LIMSTrimDataInterceptor.java

/**
 * @author diane benz
 * 
 * To change this generated comment edit the template variable "typecomment":
 * Window>Preferences>Java>Templates. To enable and disable the creation of type
 * comments go to Window>Preferences>Java>Code Generation.