public abstract class AbstractDateColumnMapper<T> extends AbstractColumnMapper<T,Date> implements DatabaseZoneConfigured
Constructor and Description |
---|
AbstractDateColumnMapper() |
Modifier and Type | Method and Description |
---|---|
abstract T |
fromNonNullString(String s) |
abstract T |
fromNonNullValue(Date value) |
TimeZone |
getDatabaseZone() |
org.hibernate.type.DateType |
getHibernateType() |
int |
getSqlType() |
TimeZone |
parseZone(String zoneString) |
void |
setDatabaseZone(TimeZone databaseZone) |
abstract String |
toNonNullString(T value) |
abstract Date |
toNonNullValue(T value) |
org.hibernate.engine.spi.SharedSessionContractImplementor |
wrapSession(org.hibernate.engine.spi.SharedSessionContractImplementor session) |
jdbcClass, returnedClass
public AbstractDateColumnMapper()
public final org.hibernate.type.DateType getHibernateType()
getHibernateType
in interface ColumnMapper<T,Date>
public final int getSqlType()
getSqlType
in interface ColumnMapper<T,Date>
public abstract T fromNonNullValue(Date value)
fromNonNullValue
in interface ColumnMapper<T,Date>
public abstract T fromNonNullString(String s)
fromNonNullString
in interface ColumnMapper<T,Date>
public abstract Date toNonNullValue(T value)
toNonNullValue
in interface ColumnMapper<T,Date>
public abstract String toNonNullString(T value)
toNonNullString
in interface ColumnMapper<T,Date>
public void setDatabaseZone(TimeZone databaseZone)
setDatabaseZone
in interface DatabaseZoneConfigured
public TimeZone parseZone(String zoneString)
parseZone
in interface DatabaseZoneConfigured
public TimeZone getDatabaseZone()
getDatabaseZone
in interface DatabaseZoneConfigured
public org.hibernate.engine.spi.SharedSessionContractImplementor wrapSession(org.hibernate.engine.spi.SharedSessionContractImplementor session)
wrapSession
in interface WrapsSession
Copyright © 2010–2018 Jadira Systems. All rights reserved.