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, setString
public DateRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping
- Java type mappingstoreMgr
- Store Managercol
- Columnpublic 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 JDBC Statementparam
- The Parameter positionvalue
- The value to setpublic Object getObject(ResultSet rs, int param)
getObject
in interface DatastoreMapping
getObject
in class AbstractDatastoreMapping
rs
- The ResultSet to extract the value fromparam
- The parameter positionCopyright © 2017. All rights reserved.