org.datanucleus.store.rdbms.mapping.oracle
Class OracleRDBMSMappingManager

java.lang.Object
  extended by org.datanucleus.store.mapped.mapping.AbstractMappingManager
      extended by org.datanucleus.store.rdbms.mapping.RDBMSMappingManager
          extended by org.datanucleus.store.rdbms.mapping.oracle.OracleRDBMSMappingManager
All Implemented Interfaces:
org.datanucleus.store.mapped.mapping.MappingManager

public class OracleRDBMSMappingManager
extends RDBMSMappingManager

Mapping manager for Oracle RDBMS adapters. Overrides some of the mappings in the RDBMSMappingManager to allow for Oracle strangeness on BLOB/CLOB Handling.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMappingManager
RDBMSMappingManager.RDBMSTypeMapping
 
Nested classes/interfaces inherited from class org.datanucleus.store.mapped.mapping.AbstractMappingManager
org.datanucleus.store.mapped.mapping.AbstractMappingManager.TypeMapping
 
Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMappingManager
LOCALISER_RDBMS
 
Fields inherited from class org.datanucleus.store.mapped.mapping.AbstractMappingManager
LOCALISER, storeMgr
 
Constructor Summary
OracleRDBMSMappingManager(org.datanucleus.store.mapped.MappedStoreManager storeMgr)
          Constructor for a mapping manager for an ORM datastore.
 
Method Summary
protected  java.lang.Class getOverrideMappingClass(java.lang.Class mappingClass, org.datanucleus.metadata.AbstractMemberMetaData mmd, int fieldRole)
          Method to allow overriding of mapping classes
 
Methods inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMappingManager
createDatastoreField, createDatastoreField, createDatastoreField, createDatastoreMapping, createDatastoreMapping, deregisterDatastoreMappingsForJDBCType, getDatastoreMappingClass, loadDatastoreMapping, registerDatastoreMapping
 
Methods inherited from class org.datanucleus.store.mapped.mapping.AbstractMappingManager
getDefaultJavaTypeMapping, getElementMappingClass, getKeyMappingClass, getMapping, getMapping, getMapping, getMappingClass, getMappingWithDatastoreMapping, getValueMappingClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleRDBMSMappingManager

public OracleRDBMSMappingManager(org.datanucleus.store.mapped.MappedStoreManager storeMgr)
Constructor for a mapping manager for an ORM datastore.

Parameters:
storeMgr - The StoreManager
Method Detail

getOverrideMappingClass

protected java.lang.Class getOverrideMappingClass(java.lang.Class mappingClass,
                                                  org.datanucleus.metadata.AbstractMemberMetaData mmd,
                                                  int fieldRole)
Method to allow overriding of mapping classes

Overrides:
getOverrideMappingClass in class org.datanucleus.store.mapped.mapping.AbstractMappingManager
Parameters:
mappingClass - The mapping class
mmd - Field meta data for the field (if appropriate)
fieldRole - Role of this column for the field (e.g collection element)
Returns:
The mapping class to use


Copyright © 2009. All Rights Reserved.