List of usage examples for org.hibernate.usertype UserVersionType interface-usage
From source file com.klistret.cmdb.utility.hibernate.HibernateUTC.java
/**
* UserType for non-default TimeZone. Hibernate's built-in date, time and
* timestamp types assume that dates in the database are in Java's default time
* zone, implicitly. If this assumption is false (and you can't make it true by
* calling java.util.TimeZone.setDefault), you can configure Hibernate to map to
* a UserType that does something else....
From source file org.jadira.usertype.spi.shared.AbstractVersionableUserType.java
@SuppressWarnings("rawtypes") public abstract class AbstractVersionableUserType<T, J, C extends VersionableColumnMapper<T, J>> extends AbstractParameterizedUserType<T, J, C> implements UserVersionType, Comparator, ParameterizedType, IntegratorConfiguredType { private static final long serialVersionUID = -8127535032447082933L;
From source file org.jboss.as.test.compat.jpa.hibernate.transformer.IntegerUserVersionType.java
public class IntegerUserVersionType implements UserVersionType { @Override public Object seed(SessionImplementor sessionImplementor) { return 0; }