Class Oracle8Adapter

  extended by org.apache.cayenne.dba.JdbcAdapter
      extended by
          extended by
All Implemented Interfaces:

public class Oracle8Adapter
extends OracleAdapter

A flavor of OracleAdapter that implements workarounds for some old driver limitations.


Field Summary
Fields inherited from class
initDone, NEW_BLOB_FUNCTION, NEW_CLOB_FUNCTION, ORACLE_BLOB, ORACLE_CLOB, ORACLE_FLOAT, oracleCursorType, outputStreamFromBlobMethod, supportsOracleLOB, TRIM_FUNCTION, writerFromClobMethod
Fields inherited from class org.apache.cayenne.dba.JdbcAdapter
ejbqlTranslatorFactory, extendedTypes, identifiersEndQuote, identifiersStartQuote, pkGenerator, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler
Constructor Summary
Method Summary
protected  URL findResource(String name)
          * Locates and returns a named adapter resource.
 SQLAction getAction(Query query, DataNode node)
          Uses OracleActionBuilder to create the right action.
 QualifierTranslator getQualifierTranslator(QueryAssembler queryAssembler)
          Returns a trimming translator.
Methods inherited from class
bindParameter, buildAttribute, configureExtendedTypes, createEJBQLTranslatorFactory, createPkGenerator, dropTableStatements, getOracleCursorType, getOutputStreamFromBlobMethod, getWriterFromClobMethod, initDriverInformation, isSupportsOracleLOB, mergerFactory
Methods inherited from class org.apache.cayenne.dba.JdbcAdapter
createFkConstraint, createTable, createTableAppendColumn, createTableAppendPKClause, createUniqueConstraint, dropTable, externalTypesForJdbcType, findAdapterResource, getBatchTerminator, getEjbqlTranslatorFactory, getExtendedTypes, getIdentifiersEndQuote, getIdentifiersStartQuote, getPkGenerator, getQuotingStrategy, initIdentifiersQuotes, setEjbqlTranslatorFactory, setPkGenerator, setSupportsBatchUpdates, setSupportsFkConstraints, setSupportsGeneratedKeys, setSupportsUniqueConstraints, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, tableTypeForTable, tableTypeForView
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Oracle8Adapter()
Method Detail


public SQLAction getAction(Query query,
                           DataNode node)
Uses OracleActionBuilder to create the right action.

Specified by:
getAction in interface DbAdapter
getAction in class OracleAdapter


protected URL findResource(String name)
Description copied from class: JdbcAdapter
* Locates and returns a named adapter resource. A resource can be an XML file, etc.

This implementation is based on the premise that each adapter is located in its own Java package and all resources are in the same package as well. Resource lookup is recursive, so that if DbAdapter is a subclass of another adapter, parent adapter package is searched as a failover.

findResource in class JdbcAdapter


public QualifierTranslator getQualifierTranslator(QueryAssembler queryAssembler)
Description copied from class: OracleAdapter
Returns a trimming translator.

Specified by:
getQualifierTranslator in interface DbAdapter
getQualifierTranslator in class OracleAdapter

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.