public class OtherRDBMSMapping extends AbstractDatastoreMapping
column, mapping, storeMgr
Constructor and Description |
---|
OtherRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col) |
Modifier and Type | Method and Description |
---|---|
Object |
getObject(ResultSet resultSet,
int exprIndex)
Obtains a value from
resultSet
at position specified by exprIndex . |
SQLTypeInfo |
getTypeInfo()
Accessor for the (SQL) type info for this datastore type.
|
protected void |
initialize()
Method to initialise the column mapping.
|
void |
setObject(PreparedStatement ps,
int exprIndex,
Object value)
Sets a
value into ps
at position specified by paramIndex . |
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 OtherRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
protected void initialize()
public SQLTypeInfo getTypeInfo()
AbstractDatastoreMapping
getTypeInfo
in class AbstractDatastoreMapping
public void setObject(PreparedStatement ps, int exprIndex, Object value)
DatastoreMapping
value
into ps
at position specified by paramIndex
.setObject
in interface DatastoreMapping
setObject
in class AbstractDatastoreMapping
ps
- PreparedStatementexprIndex
- the position of the value in the statementvalue
- the valuepublic Object getObject(ResultSet resultSet, int exprIndex)
DatastoreMapping
resultSet
at position specified by exprIndex
.getObject
in interface DatastoreMapping
getObject
in class AbstractDatastoreMapping
resultSet
- ResultSetexprIndex
- the position of the value in the resultCopyright © 2015. All rights reserved.