Example usage for org.hibernate.type.descriptor.sql DateTypeDescriptor subclass-usage

List of usage examples for org.hibernate.type.descriptor.sql DateTypeDescriptor subclass-usage

Introduction

In this page you can find the example usage for org.hibernate.type.descriptor.sql DateTypeDescriptor subclass-usage.

Usage

From source file DstSafeDateTypeDescriptor.java

public class DstSafeDateTypeDescriptor extends DateTypeDescriptor {

    private static final long serialVersionUID = -1927559005967709998L;

    private final Calendar cal; // calendar.getInstance(TimeZone.getTimeZone("GMT")); 

From source file org.jadira.usertype.spi.shared.descriptor.sql.DstSafeDateTypeDescriptor.java

public class DstSafeDateTypeDescriptor extends DateTypeDescriptor {

    private static final long serialVersionUID = -1927559005967709998L;

    private final Calendar cal; // calendar.getInstance(TimeZone.getTimeZone("GMT"));

From source file org.jasig.ssp.util.hibernate.SspDateTypeDescriptor.java

/**
 * Same as {@link org.hibernate.type.descriptor.sql.DateTypeDescriptor} but
 * always specifies a <code>java.util.Calendar</code> when reading and writing
 * JDBC <code>Dates</code>. This allows us to configure the
 * <code>TimeZone</code> in which those <code>Dates</code> are interpreted.
 * We do so globally in {@link SspTimeZones}.