public abstract class AbstractLargeBinaryRDBMSMapping extends AbstractDatastoreMapping
column, mapping, storeMgr| Constructor and Description |
|---|
AbstractLargeBinaryRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject(ResultSet rs,
int param)
Method to retrieve the object from the large binary column.
|
protected Object |
getObjectForBytes(byte[] bytes,
int param) |
String |
getString(ResultSet resultSet,
int exprIndex)
Accessor for String value when serialised.
|
protected void |
initialize()
Initialisation method, initialising the type info.
|
void |
setObject(PreparedStatement ps,
int param,
Object value)
Method to store a field into a "large varbinary" column.
|
void |
setString(PreparedStatement ps,
int exprIndex,
String value)
Cater for serialisation of Strings.
|
equals, failureMessage, failureMessage, failureMessage, getBoolean, getByte, getChar, getColumn, getDatastoreAdapter, getDouble, getFloat, getInsertionInputParameter, getInt, getJavaTypeMapping, getJDBCType, getLong, getShort, getTypeInfo, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, isNullable, isStringBased, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShortpublic AbstractLargeBinaryRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping - Java type mappingstoreMgr - Store Managercol - Columnprotected void initialize()
public void setObject(PreparedStatement ps, int param, Object value)
setObject in interface DatastoreMappingsetObject in class AbstractDatastoreMappingps - The PreparedStatementparam - Parameter position in the statementvalue - The value to storeprotected Object getObjectForBytes(byte[] bytes, int param)
public Object getObject(ResultSet rs, int param)
getObject in interface DatastoreMappinggetObject in class AbstractDatastoreMappingrs - The ResultSetparam - The parameter positionpublic void setString(PreparedStatement ps, int exprIndex, String value)
setString in interface DatastoreMappingsetString in class AbstractDatastoreMappingps - PreparedStatementexprIndex - param indexesvalue - The value of the Stringpublic String getString(ResultSet resultSet, int exprIndex)
getString in interface DatastoreMappinggetString in class AbstractDatastoreMappingresultSet - ResultSetexprIndex - param indexesCopyright © 2017. All rights reserved.