Class OracleMappingManagerImpl

  • All Implemented Interfaces:
    MappingManager

    public class OracleMappingManagerImpl
    extends MappingManagerImpl
    Mapping manager implementation for Oracle datastores. Overrides some of the mappings in the default MappingManager implementation to allow for Oracle strangeness on BLOB/CLOB Handling.
    • Constructor Detail

      • OracleMappingManagerImpl

        public OracleMappingManagerImpl​(RDBMSStoreManager storeMgr)
        Constructor for a mapping manager for an ORM datastore.
        Parameters:
        storeMgr - The StoreManager
    • Method Detail

      • getOverrideMappingClass

        protected Class<? extends JavaTypeMapping> getOverrideMappingClass​(Class<? extends JavaTypeMapping> mappingClass,
                                                                           org.datanucleus.metadata.AbstractMemberMetaData mmd,
                                                                           org.datanucleus.metadata.FieldRole fieldRole)
        Method to allow overriding of mapping classes. Allows us to configure Oracle-specific non-standard BLOB handling.
        Overrides:
        getOverrideMappingClass in class MappingManagerImpl
        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