public class ClobRDBMSMapping extends LongVarcharRDBMSMapping
column, mapping, storeMgr
Constructor and Description |
---|
ClobRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getJDBCType()
Method to return the java.sql.Types type that this relates to.
|
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 . |
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 . |
isStringBased
equals, failureMessage, failureMessage, failureMessage, getBoolean, getByte, getChar, getColumn, getDatastoreAdapter, getDouble, getFloat, getInsertionInputParameter, getInt, getJavaTypeMapping, getLong, getShort, getTypeInfo, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, isNullable, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort
public ClobRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping
- The java type mapping for the field.storeMgr
- Manager for the storecol
- Columnpublic int getJDBCType()
AbstractDatastoreMapping
getJDBCType
in class LongVarcharRDBMSMapping
public void setString(PreparedStatement ps, int param, String value)
DatastoreMapping
value
into ps
at position specified by paramIndex
.setString
in interface DatastoreMapping
setString
in class LongVarcharRDBMSMapping
ps
- PreparedStatementparam
- the position of the value in the statementvalue
- the valuepublic void setObject(PreparedStatement ps, int param, Object value)
DatastoreMapping
value
into ps
at position specified by paramIndex
.setObject
in interface DatastoreMapping
setObject
in class LongVarcharRDBMSMapping
ps
- PreparedStatementparam
- the position of the value in the statementvalue
- the valuepublic String getString(ResultSet rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.getString
in interface DatastoreMapping
getString
in class LongVarcharRDBMSMapping
rs
- ResultSetparam
- the position of the value in the resultpublic Object getObject(ResultSet rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.getObject
in interface DatastoreMapping
getObject
in class LongVarcharRDBMSMapping
rs
- ResultSetparam
- the position of the value in the resultCopyright © 2017. All rights reserved.