public class TimestampRDBMSMapping extends AbstractDatastoreMapping
column, LOCALISER, LOCALISER_RDBMS, mapping, storeMgr| Modifier | Constructor and Description |
|---|---|
|
TimestampRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col) |
protected |
TimestampRDBMSMapping(RDBMSStoreManager storeMgr,
JavaTypeMapping mapping) |
| 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, setStringprotected TimestampRDBMSMapping(RDBMSStoreManager storeMgr, JavaTypeMapping mapping)
public TimestampRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
public SQLTypeInfo getTypeInfo()
getTypeInfo in class AbstractDatastoreMappingpublic void setObject(PreparedStatement ps, int param, Object value)
setObject in interface DatastoreMappingsetObject in class AbstractDatastoreMappingps - 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 DatastoreMappinggetObject in class AbstractDatastoreMappingrs - The ResultSetparam - The parameter position in the ResultSet row.Copyright © 2013. All Rights Reserved.