Class OracleArrayType
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.ComplexDatabaseType
-
- org.eclipse.persistence.platform.database.oracle.jdbc.OracleArrayType
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.eclipse.persistence.internal.helper.DatabaseType
public class OracleArrayType extends org.eclipse.persistence.internal.helper.ComplexDatabaseType implements java.lang.Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.persistence.internal.helper.DatabaseType
nestedType
Defines the database type of the value contained in the collection type.
-
Constructor Summary
Constructors Constructor Description OracleArrayType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
void
buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
void
buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
void
buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
java.lang.String
getCompatibleType()
Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type nameorg.eclipse.persistence.internal.helper.DatabaseType
getNestedType()
Return the database type of the value contained in the collection type.int
getSqlCode()
boolean
isArray()
boolean
isComplexDatabaseType()
boolean
isJDBCType()
void
setCompatibleType(java.lang.String compatibleType)
Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type namevoid
setNestedType(org.eclipse.persistence.internal.helper.DatabaseType nestedType)
Set the database type of the value contained in the collection type.-
Methods inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
buildOutputRow, clone, computeInIndex, computeOutIndex, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isCollection, isCursor, isRecord, isStruct, logParameter, logParameter, setJavaType, setJavaTypeName, setTypeName, toString, translate
-
-
-
-
Method Detail
-
getNestedType
public org.eclipse.persistence.internal.helper.DatabaseType getNestedType()
Return the database type of the value contained in the collection type.
-
setNestedType
public void setNestedType(org.eclipse.persistence.internal.helper.DatabaseType nestedType)
Set the database type of the value contained in the collection type.i.e. the OF type.
This could be a JDBC type, PLSQL type, or a PLSQL RECORD type.
-
isJDBCType
public boolean isJDBCType()
- Specified by:
isJDBCType
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
isJDBCType
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
isComplexDatabaseType
public boolean isComplexDatabaseType()
- Specified by:
isComplexDatabaseType
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
isComplexDatabaseType
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
isArray
public boolean isArray()
- Overrides:
isArray
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
getSqlCode
public int getSqlCode()
- Specified by:
getSqlCode
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
-
getCompatibleType
public java.lang.String getCompatibleType()
Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type name- Overrides:
getCompatibleType
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
setCompatibleType
public void setCompatibleType(java.lang.String compatibleType)
Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type name- Overrides:
setCompatibleType
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildBeginBlock
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
- Specified by:
buildBeginBlock
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
buildBeginBlock
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildInDeclare
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
- Specified by:
buildInDeclare
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
buildInDeclare
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildOutDeclare
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
- Specified by:
buildOutDeclare
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
buildOutDeclare
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
- Specified by:
buildOutAssignment
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
buildOutAssignment
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
-