Class 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
  • Constructor Details

  • Method Details

    • 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
    • findResource

      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.

      Overrides:
      findResource in class JdbcAdapter
    • typeSupportsScale

      public boolean typeSupportsScale(int type)
      Description copied from class: JdbcAdapter
      Returns true if supplied type can have a scale attribute as a part of column definition.
      Specified by:
      typeSupportsScale in interface DbAdapter
      Overrides:
      typeSupportsScale in class OracleAdapter
      Parameters:
      type - sql type code
      Returns:
      true if a given type supports scale
      Since:
      5.0