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 ar.com.zauber.commons.repository.utils.HibernateAuditLoggerInterceptor.java

/**
 * Interceptor hibernate
 * 
 * 
 * @author Martin Marquez
 */

From source file ar.com.zauber.commons.repository.utils.SpringInjectionInterceptor.java

/**
 * <p>
 * Hibernate interceptor used to inject dependencies from a spring context
 * to achieve a Domain Driven Design
 * </p>
 * <p>

From source file at.stefanproell.PersistentIdentifierMockup.TimeStampInterceptor.java

/**
 * Hibernate interceptor for created and updated timestamps
 * This class is used in order to implement the time stamps for inserts and updates. It uses Hibernate in order
 * to store the Timestamps
 */
public class TimeStampInterceptor extends EmptyInterceptor {

From source file bo.com.kibo.dal.impl.control.SincronizablesInterceptor.java

/**
 *
 * @author Olvinho
 */
public class SincronizablesInterceptor extends EmptyInterceptor {

From source file bo.com.offercruz.dal.imp.control.SincronizablesInterceptor.java

/**
 *
 * @author Olvinho
 */
public class SincronizablesInterceptor extends EmptyInterceptor {

From source file c18_hibernate.MyInterceptor.java

public class MyInterceptor extends EmptyInterceptor {
    private int updates;
    private int creates;
    private int loads;

    public void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) {

From source file ch.systemsx.cisd.openbis.generic.server.dataaccess.db.LockSampleModificationsInterceptor.java

/**
 * {@link Interceptor} implementation that obtains a (reentrant) Java lock before Sample save/update
 * and releases it on transaction completion. It is more safe to implement such a lock this way
 * rather than invoking a method obtaining the lock inside DAO methods because update of Sample
 * could happen automatically upon flush to DB and it would be easy to introduce such an update
 * without noticing it. On the other hand we need a lock that will be obtained for every Sample

From source file com.axelor.auth.AuditInterceptor.java

@SuppressWarnings("serial")
public class AuditInterceptor extends EmptyInterceptor {

    private final ThreadLocal<User> currentUser = new ThreadLocal<User>();
    private final ThreadLocal<AuditTracker> tracker = new ThreadLocal<>();

From source file com.axelor.auth.db.AuditInterceptor.java

@SuppressWarnings("serial")
public class AuditInterceptor extends EmptyInterceptor {

    private ThreadLocal<User> currentUser = new ThreadLocal<User>();

    private static final String UPDATED_BY = "updatedBy";

From source file com.blazebit.security.impl.interceptor.ChangeInterceptor.java

/**
 * 
 * @author cuszk
 */
public class ChangeInterceptor extends EmptyInterceptor {