Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.dba.oracle
Class OracleSelectTranslator

    java.lang.Object
      org.apache.cayenne.access.QueryTranslator
          org.apache.cayenne.access.trans.QueryAssembler
              org.apache.cayenne.access.trans.SelectTranslator
                  org.apache.cayenne.dba.oracle.OracleSelectTranslator

    public class OracleSelectTranslator

extends SelectTranslator

Select translator that implements Oracle-specific optimizations.

Author:
  Andrus Adamchik

Field Summary

Fields inherited from class org.apache.cayenne.access.trans.SelectTranslator
`UNSUPPORTED_DISTINCT_TYPES`

Fields inherited from class org.apache.cayenne.access.trans.QueryAssembler
`attributes, values`

Fields inherited from class org.apache.cayenne.access.QueryTranslator
`adapter, connection, entityResolver, query`

Constructor Summary
`OracleSelectTranslator()`

Method Summary
`String` | `createSqlString()` Returns query translated to SQL.
`PreparedStatement` | `createStatement()` Translates internal query into PreparedStatement, applying Oracle optimizations if possible.

Methods inherited from class org.apache.cayenne.access.trans.SelectTranslator
`dbRelationshipAdded, getAttributeOverrides, getCurrentAlias, getResultColumns, isSuppressingDistinct, isUnsupportedForDistinct, resetJoinStack, supportsTableAliases`

Methods inherited from class org.apache.cayenne.access.trans.QueryAssembler
`addToParamList, getPathAliases, initStatement`

Methods inherited from class org.apache.cayenne.access.QueryTranslator
`getAdapter, getConnection, getEntityResolver, getQuery, getRootDbEntity, getRootEntity, getRootInheritanceTree, setAdapter, setConnection, setEntityResolver, setQuery`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OracleSelectTranslator

    public OracleSelectTranslator()

Method Detail

### createSqlString

    public String createSqlString()
                           throws Exception

  Description copied from class: `SelectTranslator`
  Returns query translated to SQL. This is a main work method of the SelectTranslator.

  Overrides:
    `createSqlString` in class `SelectTranslator`
  Throws:
    `Exception`

### createStatement

    public PreparedStatement createStatement()
                                      throws Exception

  Translates internal query into PreparedStatement, applying Oracle optimizations if possible.

  Overrides:
    `createStatement` in class `QueryAssembler`
  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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