Class OracleObjectType
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
org.eclipse.persistence.internal.helper.DatabaseType.DatabaseTypeHelper
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
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 STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type nameint
int
boolean
boolean
boolean
isStruct()
void
setCompatibleType
(String compatibleType) Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type namevoid
void
setLastFieldIndex
(int lastFieldIdx) Methods inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
buildOutputRow, clone, computeInIndex, computeOutIndex, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isCursor, isRecord, logParameter, logParameter, setJavaType, setJavaTypeName, setTypeName, toString, translate
-
Field Details
-
lastFieldIdx
protected int lastFieldIdx -
fields
-
-
Constructor Details
-
OracleObjectType
public OracleObjectType()
-
-
Method Details
-
getLastFieldIndex
public int getLastFieldIndex() -
setLastFieldIndex
public void setLastFieldIndex(int lastFieldIdx) -
getFields
-
setFields
-
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
-
isStruct
public boolean isStruct()- Overrides:
isStruct
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
getSqlCode
public int getSqlCode()- Specified by:
getSqlCode
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
-
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 classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
setCompatibleType
Oracle STRUCT 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
- Specified by:
buildBeginBlock
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
buildBeginBlock
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildInDeclare
- Specified by:
buildInDeclare
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
buildInDeclare
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildOutDeclare
- Specified by:
buildOutDeclare
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
buildOutDeclare
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(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
-