|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.store.rdbms.mapping.RDBMSMapping
org.jpox.store.rdbms.mapping.ColumnMapping
org.jpox.store.rdbms.mapping.LongVarcharRDBMSMapping
org.jpox.store.rdbms.mapping.ClobRDBMSMapping
public class ClobRDBMSMapping
Mapping of a Clob RDBMS type.
Field Summary |
---|
Fields inherited from class org.jpox.store.rdbms.mapping.ColumnMapping |
---|
column |
Fields inherited from class org.jpox.store.rdbms.mapping.RDBMSMapping |
---|
LOCALISER, LOCALISER_STORE, mapping, storeMgr |
Constructor Summary | |
---|---|
ClobRDBMSMapping(JavaTypeMapping mapping,
StoreManager storeMgr,
DatastoreField field)
Constructor. |
|
ClobRDBMSMapping(StoreManager storeMgr,
JavaTypeMapping mapping)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
getObject(java.lang.Object rs,
int param)
Obtains a value from resultSet
at position specified by exprIndex . |
java.lang.String |
getString(java.lang.Object rs,
int param)
Obtains a value from resultSet
at position specified by exprIndex . |
TypeInfo |
getTypeInfo()
Accessor for the type info for this datastore field |
void |
setObject(java.lang.Object ps,
int param,
java.lang.Object value)
Sets a value into preparedStatement
at position specified by paramIndex . |
void |
setString(java.lang.Object ps,
int param,
java.lang.String value)
Sets a value into preparedStatement
at position specified by paramIndex . |
Methods inherited from class org.jpox.store.rdbms.mapping.ColumnMapping |
---|
equals, getColumn, getDatastoreField, getInsertionInputParameter, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, isNullable |
Methods inherited from class org.jpox.store.rdbms.mapping.RDBMSMapping |
---|
failureMessage, getBoolean, getByte, getChar, getDatabaseAdapter, getDouble, getFloat, getInt, getJavaTypeMapping, getLong, getShort, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClobRDBMSMapping(StoreManager storeMgr, JavaTypeMapping mapping)
storeMgr
- Manager for the storemapping
- The java type mapping for the fieldpublic ClobRDBMSMapping(JavaTypeMapping mapping, StoreManager storeMgr, DatastoreField field)
mapping
- The java type mapping for the field.storeMgr
- Manager for the storefield
- The fieldMethod Detail |
---|
public TypeInfo getTypeInfo()
getTypeInfo
in class LongVarcharRDBMSMapping
public void setString(java.lang.Object ps, int param, java.lang.String value)
DatastoreMapping
value
into preparedStatement
at position specified by paramIndex
.
setString
in interface DatastoreMapping
setString
in class LongVarcharRDBMSMapping
ps
- a datastore object that executes statements in the databaseparam
- the position of the value in the statementvalue
- the valuepublic void setObject(java.lang.Object ps, int param, java.lang.Object value)
DatastoreMapping
value
into preparedStatement
at position specified by paramIndex
.
setObject
in interface DatastoreMapping
setObject
in class LongVarcharRDBMSMapping
ps
- a datastore object that executes statements in the databaseparam
- the position of the value in the statementvalue
- the valuepublic java.lang.String getString(java.lang.Object rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.
getString
in interface DatastoreMapping
getString
in class LongVarcharRDBMSMapping
rs
- an object returned from the datastore with valuesparam
- the position of the value in the result
public java.lang.Object getObject(java.lang.Object rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.
getObject
in interface DatastoreMapping
getObject
in class LongVarcharRDBMSMapping
rs
- an object returned from the datastore with valuesparam
- the position of the value in the result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |