public abstract class AbstractTimestampColumnMapper<T> extends AbstractColumnMapper<T,Timestamp> implements ColumnMapper<T,Timestamp>, DatabaseZoneConfigured
Constructor and Description |
---|
AbstractTimestampColumnMapper() |
Modifier and Type | Method and Description |
---|---|
abstract T |
fromNonNullString(String s) |
abstract T |
fromNonNullValue(Timestamp value) |
TimeZone |
getDatabaseZone() |
org.hibernate.type.TimestampType |
getHibernateType() |
int |
getSqlType() |
TimeZone |
parseZone(String zoneString) |
void |
setDatabaseZone(TimeZone databaseZone) |
abstract String |
toNonNullString(T value) |
abstract Timestamp |
toNonNullValue(T value) |
org.hibernate.engine.spi.SharedSessionContractImplementor |
wrapSession(org.hibernate.engine.spi.SharedSessionContractImplementor session) |
jdbcClass, returnedClass
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
jdbcClass, returnedClass
public AbstractTimestampColumnMapper()
public final org.hibernate.type.TimestampType getHibernateType()
getHibernateType
in interface ColumnMapper<T,Timestamp>
public final int getSqlType()
getSqlType
in interface ColumnMapper<T,Timestamp>
public abstract T fromNonNullValue(Timestamp value)
fromNonNullValue
in interface ColumnMapper<T,Timestamp>
public abstract T fromNonNullString(String s)
fromNonNullString
in interface ColumnMapper<T,Timestamp>
public abstract Timestamp toNonNullValue(T value)
toNonNullValue
in interface ColumnMapper<T,Timestamp>
public abstract String toNonNullString(T value)
toNonNullString
in interface ColumnMapper<T,Timestamp>
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.