public class OracleXMLTypeColumnMapping extends CharColumnMapping
column, mapping, storeMgr
Constructor and Description |
---|
OracleXMLTypeColumnMapping(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.
|
String |
getString(ResultSet rs,
int param)
Method to extract a String from the ResultSet at the specified position
|
protected void |
initialize()
Method to initialise the column mapping.
|
void |
setString(PreparedStatement ps,
int param,
String value)
Method to set a String at the specified position in the JDBC PreparedStatement.
|
getBoolean, getChar, getJavaUtilDateFormat, getObject, isStringBased, setBoolean, setChar, setObject
equals, failureMessage, failureMessage, failureMessage, getByte, getColumn, getDatastoreAdapter, getDouble, getFloat, getInsertionInputParameter, getInt, getJavaTypeMapping, getLong, getShort, getTypeInfo, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, isNullable, setByte, setDouble, setFloat, setInt, setLong, setShort, useDefaultWhenNull
public OracleXMLTypeColumnMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping
- Java type mappingstoreMgr
- Store Managercol
- Columnprotected void initialize()
CharColumnMapping
initialize
in class CharColumnMapping
public int getJDBCType()
AbstractColumnMapping
getJDBCType
in class CharColumnMapping
public String getString(ResultSet rs, int param)
getString
in interface ColumnMapping
getString
in class CharColumnMapping
rs
- The Result Setparam
- The parameter positionpublic void setString(PreparedStatement ps, int param, String value)
setString
in interface ColumnMapping
setString
in class CharColumnMapping
ps
- The PreparedStatementparam
- Parameter positionvalue
- The value to setCopyright © 2020. All rights reserved.