public class LongVarcharRDBMSMapping extends AbstractDatastoreMapping
column, mapping, storeMgr| Constructor and Description |
|---|
LongVarcharRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject(ResultSet rs,
int param)
Obtains a value from
resultSet
at position specified by exprIndex. |
String |
getString(ResultSet rs,
int param)
Obtains a value from
resultSet
at position specified by exprIndex. |
SQLTypeInfo |
getTypeInfo()
Accessor for the (SQL) type info for this datastore type.
|
boolean |
isStringBased()
Accessor for whether the mapping is string-based.
|
void |
setObject(PreparedStatement ps,
int param,
Object value)
Sets a
value into ps
at position specified by paramIndex. |
void |
setString(PreparedStatement ps,
int param,
String 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, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, isNullable, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShortpublic LongVarcharRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping - Java type mappingstoreMgr - Store Managercol - Column to be mappedpublic boolean isStringBased()
isStringBased in interface DatastoreMappingisStringBased in class AbstractDatastoreMappingpublic SQLTypeInfo getTypeInfo()
AbstractDatastoreMappinggetTypeInfo in class AbstractDatastoreMappingpublic void setString(PreparedStatement ps, int param, String value)
DatastoreMappingvalue into ps
at position specified by paramIndex.setString in interface DatastoreMappingsetString in class AbstractDatastoreMappingps - PreparedStatementparam - the position of the value in the statementvalue - the valuepublic String getString(ResultSet rs, int param)
DatastoreMappingresultSet
at position specified by exprIndex.getString in interface DatastoreMappinggetString in class AbstractDatastoreMappingrs - ResultSetparam - the position of the value in the resultpublic void setObject(PreparedStatement ps, int param, Object value)
DatastoreMappingvalue into ps
at position specified by paramIndex.setObject in interface DatastoreMappingsetObject in class AbstractDatastoreMappingps - PreparedStatementparam - the position of the value in the statementvalue - the valuepublic Object getObject(ResultSet rs, int param)
DatastoreMappingresultSet
at position specified by exprIndex.getObject in interface DatastoreMappinggetObject in class AbstractDatastoreMappingrs - ResultSetparam - the position of the value in the resultCopyright © 2015. All rights reserved.