org.jpox.store.rdbms.mapping.oracle
Class OracleClobRDBMSMapping

java.lang.Object
  extended byorg.jpox.store.rdbms.mapping.RDBMSMapping
      extended byorg.jpox.store.rdbms.mapping.ColumnMapping
          extended byorg.jpox.store.rdbms.mapping.LongVarcharRDBMSMapping
              extended byorg.jpox.store.rdbms.mapping.ClobRDBMSMapping
                  extended byorg.jpox.store.rdbms.mapping.oracle.OracleClobRDBMSMapping
All Implemented Interfaces:
DatastoreMapping

public class OracleClobRDBMSMapping
extends ClobRDBMSMapping

Mapping for Oracle CLOB type.

Version:
$Revision: 1.9 $

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
  OracleClobRDBMSMapping(JavaTypeMapping mapping, StoreManager storeMgr, DatastoreField field)
          Constructor.
protected OracleClobRDBMSMapping(StoreManager storeMgr, JavaTypeMapping mapping)
          Constructor
 
Method Summary
 java.lang.String getInsertionInputParameter()
          Accessor for the string to put in any retrieval datastore statement for this field.
 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
 java.lang.String getUpdateInputParameter()
          Accessor for the string to put in any update datastore statements for this field.
 boolean includeInFetchStatement()
          Whether this mapping is included in the fetch statement.
 
Methods inherited from class org.jpox.store.rdbms.mapping.ClobRDBMSMapping
setObject, setString
 
Methods inherited from class org.jpox.store.rdbms.mapping.ColumnMapping
equals, getColumn, getDatastoreField, hashCode, 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

OracleClobRDBMSMapping

protected OracleClobRDBMSMapping(StoreManager storeMgr,
                                 JavaTypeMapping mapping)
Constructor

Parameters:
storeMgr - Store Manager
mapping - The Java type mapping

OracleClobRDBMSMapping

public OracleClobRDBMSMapping(JavaTypeMapping mapping,
                              StoreManager storeMgr,
                              DatastoreField field)
Constructor.

Parameters:
mapping - The java type mapping for the field.
storeMgr - Manager for the store
field - The field
Method Detail

getTypeInfo

public TypeInfo getTypeInfo()
Description copied from class: ClobRDBMSMapping
Accessor for the type info for this datastore field

Overrides:
getTypeInfo in class ClobRDBMSMapping
Returns:
Type info for the datastore field

getInsertionInputParameter

public java.lang.String getInsertionInputParameter()
Description copied from class: RDBMSMapping
Accessor for the string to put in any retrieval datastore statement for this field. In RDBMS, this is typically a ? to be used in JDBC statements.

Overrides:
getInsertionInputParameter in class ColumnMapping

includeInFetchStatement

public boolean includeInFetchStatement()
Description copied from class: RDBMSMapping
Whether this mapping is included in the fetch statement.

Overrides:
includeInFetchStatement in class ColumnMapping

getUpdateInputParameter

public java.lang.String getUpdateInputParameter()
Description copied from class: RDBMSMapping
Accessor for the string to put in any update datastore statements for this field. In RDBMS, this is typically a ? to be used in JDBC statements.

Overrides:
getUpdateInputParameter in class ColumnMapping

getString

public java.lang.String getString(java.lang.Object rs,
                                  int param)
Description copied from interface: DatastoreMapping
Obtains a value from resultSet at position specified by exprIndex.

Specified by:
getString in interface DatastoreMapping
Overrides:
getString in class ClobRDBMSMapping

getObject

public java.lang.Object getObject(java.lang.Object rs,
                                  int param)
Description copied from interface: DatastoreMapping
Obtains a value from resultSet at position specified by exprIndex.

Specified by:
getObject in interface DatastoreMapping
Overrides:
getObject in class ClobRDBMSMapping


Copyright © -2007 . All Rights Reserved.