List of usage examples for org.hibernate.type VersionType interface-usage
From source file hibernate.type.InstantType.java
/** * A type that maps between {@link java.sql.Types#TIMESTAMP TIMESTAMP} and {@link java.time.LocalDateTime}. * * @author Steve Ebersole */ public class InstantType extends AbstractSingleColumnStandardBasicType<Instant>
From source file io.pivotal.strepsirrhini.chaosloris.data.InstantType.java
public final class InstantType extends AbstractSingleColumnStandardBasicType<Instant> implements VersionType<Instant>, LiteralType<Instant> { static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.S 'Z'", Locale.ENGLISH);
From source file org.jadira.usertype.spi.shared.DstSafeTimestampType.java
public class DstSafeTimestampType extends AbstractSingleColumnStandardBasicType<Date> implements VersionType<Date>, LiteralType<Date> { private static final long serialVersionUID = -3665273920874664942L; public static final DstSafeTimestampType INSTANCE = new DstSafeTimestampType();
From source file org.jasig.ssp.util.hibernate.ConfigurableTimestampType.java
public class ConfigurableTimestampType extends AbstractSingleColumnStandardBasicType<Date> implements VersionType<Date>, LiteralType<Date> { public ConfigurableTimestampType(TimestampTypeDescriptor descriptor) { super(descriptor, JdbcTimestampTypeDescriptor.INSTANCE); }
From source file org.jboss.as.test.compat.jpa.hibernate.transformer.IntegerType.java
/**
* A type that maps between {@link java.sql.Types#INTEGER INTEGER} and @link Integer}
*
* @author Gavin King
* @author Steve Ebersole
*/
From source file org.n52.series.db.ZonalTimestampType.java
/**
* A type that maps between {@link java.sql.Types#TIMESTAMP TIMESTAMP} and
* {@link java.sql.Timestamp}. Delegates to Hibernate's TimestampType, but
* specifies ZonalTimestampTypeDescriptor as the SqlTypeDescriptor so that times
* from the database can be configured to have a specific timezone.
*
From source file org.n52.sos.ds.hibernate.type.UtcTimestampType.java
/**
* A type that maps between {@link java.sql.Types#TIMESTAMP TIMESTAMP} and
* {@link java.sql.Timestamp}. Delegates to Hibernate's TimestampType, but
* specifies UtcTimestampTypeDescriptor as the SqlTypeDescriptor so that times
* from the database are always retrieved in UTC.
*