public class BlobRDBMSMapping extends AbstractLargeBinaryRDBMSMapping
column, mapping, storeMgr| Constructor and Description |
|---|
BlobRDBMSMapping(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.
|
String |
getString(ResultSet rs,
int param)
Accessor for String value when serialised.
|
SQLTypeInfo |
getTypeInfo()
Accessor for the RDBMS BLOB type being represented.
|
void |
setObject(PreparedStatement ps,
int param,
Object value)
Method to store a field into a "large varbinary" column.
|
void |
setString(PreparedStatement ps,
int param,
String value)
Cater for serialisation of Strings.
|
getObjectForBytes, initializeequals, 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, isStringBased, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShortpublic BlobRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping - Java type mappingstoreMgr - Store Managercol - Columnpublic SQLTypeInfo getTypeInfo()
getTypeInfo in class AbstractDatastoreMappingpublic Object getObject(ResultSet rs, int param)
AbstractLargeBinaryRDBMSMappinggetObject in interface DatastoreMappinggetObject in class AbstractLargeBinaryRDBMSMappingrs - The ResultSetparam - The parameter positionpublic void setObject(PreparedStatement ps, int param, Object value)
AbstractLargeBinaryRDBMSMappingsetObject in interface DatastoreMappingsetObject in class AbstractLargeBinaryRDBMSMappingps - The PreparedStatementparam - Parameter position in the statementvalue - The value to storepublic void setString(PreparedStatement ps, int param, String value)
AbstractLargeBinaryRDBMSMappingsetString in interface DatastoreMappingsetString in class AbstractLargeBinaryRDBMSMappingps - PreparedStatementparam - param indexesvalue - The value of the Stringpublic String getString(ResultSet rs, int param)
AbstractLargeBinaryRDBMSMappinggetString in interface DatastoreMappinggetString in class AbstractLargeBinaryRDBMSMappingrs - ResultSetparam - param indexesCopyright © 2015. All rights reserved.