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,DatabaseType
public class OracleArrayType extends ComplexDatabaseType implements java.lang.Cloneable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
DatabaseType.DatabaseTypeHelper
-
-
Field Summary
Fields Modifier and Type Field Description protected DatabaseTypenestedTypeDefines 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
Constructors Constructor Description OracleArrayType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)voidbuildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)voidbuildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)voidbuildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)java.lang.StringgetCompatibleType()Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type nameDatabaseTypegetNestedType()Return the database type of the value contained in the collection type.intgetSqlCode()booleanisArray()booleanisComplexDatabaseType()booleanisJDBCType()voidsetCompatibleType(java.lang.String compatibleType)Oracle ARRAY types don't have a compatible type like PL/SQL types do, so we will use the type namevoidsetNestedType(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
-
-
-
-
Field Detail
-
nestedType
protected DatabaseType 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.
-
-
Method Detail
-
getNestedType
public DatabaseType getNestedType()
Return the database type of the value contained in the collection type.
-
setNestedType
public void setNestedType(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:
isJDBCTypein interfaceDatabaseType- Overrides:
isJDBCTypein classComplexDatabaseType
-
isComplexDatabaseType
public boolean isComplexDatabaseType()
- Specified by:
isComplexDatabaseTypein interfaceDatabaseType- Overrides:
isComplexDatabaseTypein classComplexDatabaseType
-
isArray
public boolean isArray()
- Overrides:
isArrayin classComplexDatabaseType
-
getSqlCode
public int getSqlCode()
- Specified by:
getSqlCodein interfaceDatabaseType
-
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:
getCompatibleTypein classComplexDatabaseType
-
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:
setCompatibleTypein classComplexDatabaseType
-
buildBeginBlock
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)- Specified by:
buildBeginBlockin interfaceDatabaseType- Overrides:
buildBeginBlockin classComplexDatabaseType
-
buildInDeclare
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)- Specified by:
buildInDeclarein interfaceDatabaseType- Overrides:
buildInDeclarein classComplexDatabaseType
-
buildOutDeclare
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)- Specified by:
buildOutDeclarein interfaceDatabaseType- Overrides:
buildOutDeclarein classComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)- Specified by:
buildOutAssignmentin interfaceDatabaseType- Overrides:
buildOutAssignmentin classComplexDatabaseType
-
-