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 org.bahmni.module.bahmnicore.db.hibernate.DropMillisecondsHibernateInterceptor.java

/**
 * Prior to MySQL version 5.6 the DATETIME datatype is only precise to the second, and in version 5.6, a column datatype
 * of DATETIME is precise to the second. (To get millisecond precision you'd need to say DATETIME(3).) Thus all the
 * DATETIME fields in all existing OpenMRS installations running on MySQL are precise to the second.
 * <p/>
 * We use java.util.Date in OpenMRS, which has millisecond precision, so when saving an OpenMRS object to the database,

From source file org.balisunrise.daa.hibernate.PostgresSqlInterceptor.java

/**
 * Classe PostgresSqlInterceptor.
 *
 * @author Glauco Knihs
 * @version 1.0
 * @since 1.0

From source file org.balisunrise.tests.hibernate.Interceptador.java

/**
 * Classe Interceptador.
 *
 * @author Glauco Knihs
 * @version 1.0
 * @since 1.0

From source file org.bonitasoft.engine.persistence.PostgresInterceptor.java

/**
 * @author Matthieu Chaffotte
 */
public class PostgresInterceptor extends EmptyInterceptor {

    private static final long serialVersionUID = -6720122264417020259L;

From source file org.bonitasoft.engine.persistence.SQLServerInterceptor.java

/**
 * @author Matthieu Chaffotte
 */
public class SQLServerInterceptor extends EmptyInterceptor {

    private static final long serialVersionUID = -6720122264417020259L;

From source file org.brekka.commons.persistence.support.EntityInterceptor.java

/**
 * @author Andrew Taylor (andrew@brekka.org)
 *
 */
public class EntityInterceptor extends EmptyInterceptor {

From source file org.candlepin.hibernate.EmptyStringInterceptor.java

/**
 * This interceptor changes empty strings to null before they are written to the
 * database.  This change is necessary because Oracle treats the empty string
 * as null and we want to mimic the same behavior on PostgreSQL.
 */
public class EmptyStringInterceptor extends EmptyInterceptor {

From source file org.cgiar.ccafs.marlo.data.AuditLogInterceptor.java

/**
 * This is a EmptyInterceptor triggered when the data will be change ,
 * add and remove and save to audit log table
 * 
 * @author Christian Garcia
 */

From source file org.chenillekit.hibernate.interceptors.AuditInterceptor.java

/**
 * inserts audit informations into an entity object that implements @see Auditable.
 *
 * @version $Id$
 */
public class AuditInterceptor extends EmptyInterceptor {

From source file org.chenillekit.hibernate.interceptors.ChainedInterceptor.java

/**
 * Implementation of the Hibernate <code>Interceptor</code>
 * interface that allows the chaining of several different
 * instances of the same interface.
 *
 * @version $Id$