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 com.redhat.rhn.common.hibernate.EmptyVarcharInterceptor.java

/**
 * Hibernate interceptor that searches all objects being saved and checks if all
 * varchar fields are not empty. It can either print a warning in the log or
 * convert empty varchar to null automatically. It depends on the setting of the
 * interceptor.
 */

From source file com.sangupta.jerry.hibernate.interceptors.UserTimeStampedModelInterceptor.java

/**
 * A hibernate-interceptor that intercepts calls to the Hibernate framework
 * and populate the last updated user fields as defined in the 
 * @author sangupta
 *
 */

From source file com.scopix.periscope.frameworksfoundation.hibernate.interceptor.CustomHibernateInterceptor.java

/**
 * Interceptors in Hibernate allow user code to inspect and/or change property
 * values. Inspection occurs before property values are written and after they
 * are read from the database. This class adds custom interceptor behavior,
 * defined by its methods.
 * 

From source file com.sesnu.orion.config.AccessInterceptor.java

public class AccessInterceptor extends EmptyInterceptor {
    private static final long serialVersionUID = -7610980115231672096L;

    private static final Logger logger = Logger.getLogger(AccessInterceptor.class.getName());

    final List<String> protectedTables = Arrays.asList(new String[] { "orders", "order_view", "summary_view",

From source file com.sourcecoding.multitenancy.MultiTenancyHibernateInterceptor.java

/**
 * @author matthias reining
 */
public class MultiTenancyHibernateInterceptor extends EmptyInterceptor {

    private static Logger LOG = Logger.getLogger(MultiTenancyHibernateInterceptor.class.getName());

From source file com.thoughtworks.go.server.transaction.TransactionCacheInterceptor.java

public class TransactionCacheInterceptor extends EmptyInterceptor {

    private final GoCache goCache;

    public TransactionCacheInterceptor(GoCache goCache) {
        this.goCache = goCache;

From source file com.utest.dao.AuditTrailInterceptor.java

public class AuditTrailInterceptor extends EmptyInterceptor {

    /**
     * 
     */
    private static final long serialVersionUID = -3515436262982521201L;

From source file com.webbfontaine.valuewebb.model.envers.AttDocsBytesLoader.java

/**
 * Copyrights 2002-2014 Webb Fontaine
 * This software is the proprietary information of Webb Fontaine.
 * Its use is subject to License terms.
 * Developer: nigiyan
 * Date: 16/05/2014

From source file com.zuoxiaolong.niubi.job.persistent.hibernate.EntityInterceptor.java

/**
 * @author Xiaolong Zuo
 * @since 0.9.3
 */
@Component
public class EntityInterceptor extends EmptyInterceptor {

From source file com.zutubi.pulse.master.tove.config.ConfigurationInjector.java

/**
 * A Hibernate interceptor that injects associated config instances 
 */
public class ConfigurationInjector extends EmptyInterceptor {
    private Map<Class, ConfigurationSetter> setterMap = new HashMap<Class, ConfigurationSetter>();