|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.dba.JdbcAdapter
org.apache.cayenne.dba.oracle.OracleAdapter
org.apache.cayenne.dba.oracle.Oracle8Adapter
public class Oracle8Adapter
A flavor of OracleAdapter that implements workarounds for some old driver limitations.
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, supportsOracleLOB, TRIM_FUNCTION |
Fields inherited from class org.apache.cayenne.dba.JdbcAdapter |
---|
batchQueryBuilderFactory, caseInsensitiveCollations, CI_PROPERTY, ejbqlTranslatorFactory, extendedTypes, identifiersEndQuote, identifiersStartQuote, logger, resourceLocator, supportsBatchUpdates, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
Constructor Summary | |
---|---|
Oracle8Adapter(RuntimeProperties runtimeProperties,
java.util.List<ExtendedType> defaultExtendedTypes,
java.util.List<ExtendedType> userExtendedTypes,
java.util.List<ExtendedTypeFactory> extendedTypeFactories)
|
Method Summary | |
---|---|
protected java.net.URL |
findResource(java.lang.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 org.apache.cayenne.dba.oracle.OracleAdapter |
---|
bindParameter, buildAttribute, configureExtendedTypes, createEJBQLTranslatorFactory, createPkGenerator, dropTableStatements, getOracleCursorType, initDriverInformation, isSupportsOracleLOB, mergerFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Oracle8Adapter(RuntimeProperties runtimeProperties, java.util.List<ExtendedType> defaultExtendedTypes, java.util.List<ExtendedType> userExtendedTypes, java.util.List<ExtendedTypeFactory> extendedTypeFactories)
Method Detail |
---|
public SQLAction getAction(Query query, DataNode node)
getAction
in interface DbAdapter
getAction
in class OracleAdapter
protected java.net.URL findResource(java.lang.String name)
JdbcAdapter
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)
OracleAdapter
getQualifierTranslator
in interface DbAdapter
getQualifierTranslator
in class OracleAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |