All Implemented Interfaces:
Serializable, Cloneable, CorePlatform<ConversionManager>, Platform
Direct Known Subclasses:
Oracle11Platform

public class Oracle10Platform extends Oracle9Platform

Purpose: Supports usage of certain Oracle JDBC specific APIs.

See Also:
  • Constructor Details

    • Oracle10Platform

      public Oracle10Platform()
  • Method Details

    • buildFieldTypes

      protected Hashtable<Class<?>,FieldTypeDefinition> buildFieldTypes()
      INTERNAL: Add XMLType as the default database type for org.w3c.dom.Documents. Add TIMESTAMP, TIMESTAMP WITH TIME ZONE and TIMESTAMP WITH LOCAL TIME ZONE
      Overrides:
      buildFieldTypes in class Oracle9Platform
    • buildFirstRowsHint

      protected String buildFirstRowsHint(int max)
      Build the hint string used for first rows. Allows it to be overridden
      Overrides:
      buildFirstRowsHint in class Oracle9Platform
    • executeBatch

      public int executeBatch(Statement statement, boolean isStatementPrepared) throws SQLException
      Internal: This gets called on each batch statement execution Needs to be implemented so that it returns the number of rows successfully modified by this statement for optimistic locking purposes (if useNativeBatchWriting is enabled, and the call uses optimistic locking).
      Overrides:
      executeBatch in class Oracle9Platform
      Parameters:
      isStatementPrepared - - flag is set to true if this statement is prepared
      Returns:
      - number of rows modified/deleted by this statement
      Throws:
      SQLException
    • isNativeConnectionRequiredForLobLocator

      public boolean isNativeConnectionRequiredForLobLocator()
      INTERNAL: Indicate whether app. server should unwrap connection to use lob locator. No need to unwrap connection because writeLob method doesn't use oracle proprietary classes.
      Overrides:
      isNativeConnectionRequiredForLobLocator in class Oracle8Platform
    • canBatchWriteWithOptimisticLocking

      public boolean canBatchWriteWithOptimisticLocking(DatabaseCall call)
      INTERNAL: Supports Batch Writing with Optimistic Locking.
      Overrides:
      canBatchWriteWithOptimisticLocking in class DatabasePlatform