public class TimestampRDBMSMapping extends AbstractDatastoreMapping
column, mapping, storeMgr
Constructor and Description |
---|
TimestampRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col) |
Modifier and Type | Method and Description |
---|---|
int |
getJDBCType()
Method to return the java.sql.Types type that this relates to.
|
Object |
getObject(ResultSet rs,
int param)
Method to access an Object from the ResultSet.
|
protected Timestamp |
getTimestamp(ResultSet rs,
int param)
Method to access a Timestamp from the ResultSet.
|
void |
setObject(PreparedStatement ps,
int param,
Object value)
Method to set an object in a PreparedStatement for sending to the datastore.
|
equals, failureMessage, failureMessage, failureMessage, getBoolean, getByte, getChar, getColumn, getDatastoreAdapter, getDouble, getFloat, getInsertionInputParameter, getInt, getJavaTypeMapping, getLong, getShort, getString, getTypeInfo, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, isNullable, isStringBased, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
public TimestampRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
public int getJDBCType()
AbstractDatastoreMapping
getJDBCType
in class AbstractDatastoreMapping
public void setObject(PreparedStatement ps, int param, Object value)
setObject
in interface DatastoreMapping
setObject
in class AbstractDatastoreMapping
ps
- The PreparedStatementparam
- The parameter position (in the statement)value
- The value to setprotected Timestamp getTimestamp(ResultSet rs, int param)
rs
- The ResultSetparam
- The parameter position in the ResultSet row.public Object getObject(ResultSet rs, int param)
getObject
in interface DatastoreMapping
getObject
in class AbstractDatastoreMapping
rs
- The ResultSetparam
- The parameter position in the ResultSet row.Copyright © 2017. All rights reserved.