org.apache.cayenne.dba.oracle
Class Oracle8Adapter

java.lang.Object
  extended by org.apache.cayenne.dba.JdbcAdapter
      extended by org.apache.cayenne.dba.oracle.OracleAdapter
          extended by org.apache.cayenne.dba.oracle.Oracle8Adapter
All Implemented Interfaces:
DbAdapter

public class Oracle8Adapter
extends OracleAdapter

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

Since:
1.2
Author:
Andrus Adamchik

Field Summary
 
Fields inherited from class org.apache.cayenne.dba.oracle.OracleAdapter
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
extendedTypes, pkGenerator, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler
 
Constructor Summary
Oracle8Adapter()
           
 
Method Summary
 java.net.URL findAdapterResource(java.lang.String name)
          Locates and returns a named adapter resource.
 SQLAction getAction(Query query, DataNode node)
          Uses OracleActionBuilder to create the right action.
 
Methods inherited from class org.apache.cayenne.dba.oracle.OracleAdapter
buildAttribute, configureExtendedTypes, createPkGenerator, dropTable, getOracleCursorType, getOutputStreamFromBlobMethod, getQualifierTranslator, getWriterFromClobMethod, initDriverInformation, isSupportsOracleLOB, queryTranslatorClass, shouldRunBatchQuery
 
Methods inherited from class org.apache.cayenne.dba.JdbcAdapter
bindParameter, createDataNode, createFkConstraint, createTable, createTableAppendColumn, createTableAppendPKClause, createUniqueConstraint, externalTypesForJdbcType, getBatchTerminator, getExtendedTypes, getPkGenerator, getQueryTranslator, 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

Oracle8Adapter

public Oracle8Adapter()
Method Detail

getAction

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

Specified by:
getAction in interface DbAdapter
Overrides:
getAction in class OracleAdapter

findAdapterResource

public java.net.URL findAdapterResource(java.lang.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.

Overrides:
findAdapterResource in class JdbcAdapter


Copyright © 2001-2006 Apache.org All Rights Reserved.