public class DateRDBMSMapping extends AbstractDatastoreMapping
column, mapping, storeMgr| Constructor and Description |
|---|
DateRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Date |
getDate(ResultSet rs,
int param) |
int |
getJDBCType()
Method to return the java.sql.Types type that this relates to.
|
Object |
getObject(ResultSet rs,
int param)
Accessor for the object.
|
void |
setObject(PreparedStatement ps,
int param,
Object value)
Mutator for the object.
|
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, setStringpublic DateRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping - Java type mappingstoreMgr - Store Managercol - Columnpublic int getJDBCType()
AbstractDatastoreMappinggetJDBCType in class AbstractDatastoreMappingpublic void setObject(PreparedStatement ps, int param, Object value)
setObject in interface DatastoreMappingsetObject in class AbstractDatastoreMappingps - The JDBC Statementparam - The Parameter positionvalue - The value to setpublic Object getObject(ResultSet rs, int param)
getObject in interface DatastoreMappinggetObject in class AbstractDatastoreMappingrs - The ResultSet to extract the value fromparam - The parameter positionCopyright © 2017. All rights reserved.