public class OracleArrayType
extends org.eclipse.persistence.internal.helper.ComplexDatabaseType
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.persistence.internal.helper.DatabaseType |
nestedType
Defines the database type of the value contained in the collection type.
|
| Constructor and Description |
|---|
OracleArrayType() |
| Modifier and Type | Method and 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 name
|
org.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 name
|
void |
setNestedType(org.eclipse.persistence.internal.helper.DatabaseType nestedType)
Set the database type of the value contained in the collection type.
|
buildOutputRow, clone, computeInIndex, computeOutIndex, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isCollection, isCursor, isRecord, isStruct, logParameter, setJavaType, setJavaTypeName, setTypeName, toString, translateprotected org.eclipse.persistence.internal.helper.DatabaseType nestedType
i.e. the OF type.
This could be a JDBC type, PLSQL type, or a PLSQL RECORD type.
public org.eclipse.persistence.internal.helper.DatabaseType getNestedType()
public void setNestedType(org.eclipse.persistence.internal.helper.DatabaseType nestedType)
i.e. the OF type.
This could be a JDBC type, PLSQL type, or a PLSQL RECORD type.
public boolean isJDBCType()
isJDBCType in interface org.eclipse.persistence.internal.helper.DatabaseTypeisJDBCType in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic boolean isComplexDatabaseType()
isComplexDatabaseType in interface org.eclipse.persistence.internal.helper.DatabaseTypeisComplexDatabaseType in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic boolean isArray()
isArray in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic int getSqlCode()
getSqlCode in interface org.eclipse.persistence.internal.helper.DatabaseTypepublic java.lang.String getCompatibleType()
getCompatibleType in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void setCompatibleType(java.lang.String compatibleType)
setCompatibleType in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call)
buildBeginBlock in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildBeginBlock in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg)
buildInDeclare in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildInDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg)
buildOutDeclare in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildOutDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument outArg,
PLSQLStoredProcedureCall call)
buildOutAssignment in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildOutAssignment in class org.eclipse.persistence.internal.helper.ComplexDatabaseType