|
||||||||||
| 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
public class LongVarcharRDBMSMapping
Mapping of a Long VARCHAR 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 | |
|---|---|
|
LongVarcharRDBMSMapping(JavaTypeMapping mapping,
StoreManager storeMgr,
DatastoreField field)
Constructor. |
protected |
LongVarcharRDBMSMapping(StoreManager storeMgr,
JavaTypeMapping mapping)
|
| 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()
Returns the TypeInfo (JDBC SQL type) for columns. |
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 |
|---|
protected LongVarcharRDBMSMapping(StoreManager storeMgr,
JavaTypeMapping mapping)
storeMgr - Store Managermapping - Java type mapping
public LongVarcharRDBMSMapping(JavaTypeMapping mapping,
StoreManager storeMgr,
DatastoreField field)
mapping - Java type mappingstoreMgr - Store Managerfield - Field to be mapped| Method Detail |
|---|
public TypeInfo getTypeInfo()
ColumnMapping
getTypeInfo in class ColumnMapping
public void setString(java.lang.Object ps,
int param,
java.lang.String value)
DatastoreMappingvalue into preparedStatement
at position specified by paramIndex.
setString in interface DatastoreMappingsetString in class RDBMSMappingps - a datastore object that executes statements in the databaseparam - the position of the value in the statementvalue - the value
public java.lang.String getString(java.lang.Object rs,
int param)
DatastoreMappingresultSet
at position specified by exprIndex.
getString in interface DatastoreMappinggetString in class RDBMSMappingrs - an object returned from the datastore with valuesparam - the position of the value in the result
public void setObject(java.lang.Object ps,
int param,
java.lang.Object value)
DatastoreMappingvalue into preparedStatement
at position specified by paramIndex.
setObject in interface DatastoreMappingsetObject in class RDBMSMappingps - a datastore object that executes statements in the databaseparam - the position of the value in the statementvalue - the value
public java.lang.Object getObject(java.lang.Object rs,
int param)
DatastoreMappingresultSet
at position specified by exprIndex.
getObject in interface DatastoreMappinggetObject in class RDBMSMappingrs - 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 | |||||||||