java.lang.Object
org.eclipse.persistence.internal.helper.ComplexDatabaseType
org.eclipse.persistence.platform.database.oracle.jdbc.OracleObjectType
All Implemented Interfaces:
Cloneable, org.eclipse.persistence.internal.helper.DatabaseType

public class OracleObjectType extends org.eclipse.persistence.internal.helper.ComplexDatabaseType implements Cloneable
  • Field Details

    • lastFieldIdx

      protected int lastFieldIdx
    • fields

      protected Map<String,org.eclipse.persistence.internal.helper.DatabaseType> fields
  • Constructor Details

    • OracleObjectType

      public OracleObjectType()
  • Method Details

    • getLastFieldIndex

      public int getLastFieldIndex()
    • setLastFieldIndex

      public void setLastFieldIndex(int lastFieldIdx)
    • getFields

      public Map<String,org.eclipse.persistence.internal.helper.DatabaseType> getFields()
    • setFields

      public void setFields(Map<String,org.eclipse.persistence.internal.helper.DatabaseType> fields)
    • isJDBCType

      public boolean isJDBCType()
      Specified by:
      isJDBCType in interface org.eclipse.persistence.internal.helper.DatabaseType
      Overrides:
      isJDBCType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
    • isComplexDatabaseType

      public boolean isComplexDatabaseType()
      Specified by:
      isComplexDatabaseType in interface org.eclipse.persistence.internal.helper.DatabaseType
      Overrides:
      isComplexDatabaseType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
    • isStruct

      public boolean isStruct()
      Overrides:
      isStruct in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
    • getSqlCode

      public int getSqlCode()
      Specified by:
      getSqlCode in interface org.eclipse.persistence.internal.helper.DatabaseType
    • getCompatibleType

      public String getCompatibleType()
      Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type name
      Overrides:
      getCompatibleType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
    • setCompatibleType

      public void setCompatibleType(String compatibleType)
      Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type name
      Overrides:
      setCompatibleType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
    • buildBeginBlock

      public void buildBeginBlock(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
      Specified by:
      buildBeginBlock in interface org.eclipse.persistence.internal.helper.DatabaseType
      Overrides:
      buildBeginBlock in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
    • buildInDeclare

      public void buildInDeclare(StringBuilder sb, PLSQLargument inArg)
      Specified by:
      buildInDeclare in interface org.eclipse.persistence.internal.helper.DatabaseType
      Overrides:
      buildInDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
    • buildOutDeclare

      public void buildOutDeclare(StringBuilder sb, PLSQLargument outArg)
      Specified by:
      buildOutDeclare in interface org.eclipse.persistence.internal.helper.DatabaseType
      Overrides:
      buildOutDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
    • buildOutAssignment

      public void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
      Specified by:
      buildOutAssignment in interface org.eclipse.persistence.internal.helper.DatabaseType
      Overrides:
      buildOutAssignment in class org.eclipse.persistence.internal.helper.ComplexDatabaseType