public class TimestampRDBMSMapping extends AbstractDatastoreMapping
column, mapping, storeMgr
Constructor and Description |
---|
TimestampRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col) |
Modifier and Type | Method and Description |
---|---|
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.
|
SQLTypeInfo |
getTypeInfo()
Accessor for the type info for this column.
|
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, 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 SQLTypeInfo getTypeInfo()
getTypeInfo
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 © 2015. All rights reserved.