Module org.eclipse.persistence.core
Class OracleArrayType
java.lang.Object
org.eclipse.persistence.internal.helper.ComplexDatabaseType
org.eclipse.persistence.platform.database.oracle.jdbc.OracleArrayType
- All Implemented Interfaces:
Cloneable
,DatabaseType
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
DatabaseType.DatabaseTypeHelper
-
Field Summary
Modifier and TypeFieldDescriptionprotected DatabaseType
Defines the database type of the value contained in the collection type.Fields inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
compatibleType, javaType, javaTypeName, typeName
Fields inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildBeginBlock
(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call) void
buildInDeclare
(StringBuilder sb, PLSQLargument inArg) void
buildOutAssignment
(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) void
buildOutDeclare
(StringBuilder sb, PLSQLargument outArg) Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type nameReturn the database type of the value contained in the collection type.int
boolean
isArray()
boolean
boolean
void
setCompatibleType
(String compatibleType) Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type namevoid
setNestedType
(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, setJavaType, setJavaTypeName, setTypeName, toString, translate
-
Field Details
-
nestedType
Defines 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.
-
-
Constructor Details
-
OracleArrayType
public OracleArrayType()
-
-
Method Details
-
getNestedType
Return the database type of the value contained in the collection type. -
setNestedType
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 interfaceDatabaseType
- Overrides:
isJDBCType
in classComplexDatabaseType
-
isComplexDatabaseType
public boolean isComplexDatabaseType()- Specified by:
isComplexDatabaseType
in interfaceDatabaseType
- Overrides:
isComplexDatabaseType
in classComplexDatabaseType
-
isArray
public boolean isArray()- Overrides:
isArray
in classComplexDatabaseType
-
getSqlCode
public int getSqlCode()- Specified by:
getSqlCode
in interfaceDatabaseType
-
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 classComplexDatabaseType
-
setCompatibleType
Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type name- Overrides:
setCompatibleType
in classComplexDatabaseType
-
buildBeginBlock
- Specified by:
buildBeginBlock
in interfaceDatabaseType
- Overrides:
buildBeginBlock
in classComplexDatabaseType
-
buildInDeclare
- Specified by:
buildInDeclare
in interfaceDatabaseType
- Overrides:
buildInDeclare
in classComplexDatabaseType
-
buildOutDeclare
- Specified by:
buildOutDeclare
in interfaceDatabaseType
- Overrides:
buildOutDeclare
in classComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) - Specified by:
buildOutAssignment
in interfaceDatabaseType
- Overrides:
buildOutAssignment
in classComplexDatabaseType
-