Module org.eclipse.persistence.core
Class OracleObjectType
java.lang.Object
org.eclipse.persistence.internal.helper.ComplexDatabaseType
org.eclipse.persistence.platform.database.oracle.jdbc.OracleObjectType
- All Implemented Interfaces:
Cloneable,DatabaseType
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
DatabaseType.DatabaseTypeHelper -
Field Summary
FieldsFields inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
compatibleType, javaType, javaTypeName, typeNameFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildBeginBlock(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call) voidbuildInDeclare(StringBuilder sb, PLSQLargument inArg) voidbuildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) voidbuildOutDeclare(StringBuilder sb, PLSQLargument outArg) Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type nameintintbooleanbooleanbooleanisStruct()voidsetCompatibleType(String compatibleType) Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type namevoidsetFields(Map<String, DatabaseType> fields) voidsetLastFieldIndex(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, 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:
isJDBCTypein interfaceDatabaseType- Overrides:
isJDBCTypein classComplexDatabaseType
-
isComplexDatabaseType
public boolean isComplexDatabaseType()- Specified by:
isComplexDatabaseTypein interfaceDatabaseType- Overrides:
isComplexDatabaseTypein classComplexDatabaseType
-
isStruct
public boolean isStruct()- Overrides:
isStructin classComplexDatabaseType
-
getSqlCode
public int getSqlCode()- Specified by:
getSqlCodein interfaceDatabaseType
-
getCompatibleType
Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type name- Overrides:
getCompatibleTypein classComplexDatabaseType
-
setCompatibleType
Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type name- Overrides:
setCompatibleTypein classComplexDatabaseType
-
buildBeginBlock
- Specified by:
buildBeginBlockin interfaceDatabaseType- Overrides:
buildBeginBlockin classComplexDatabaseType
-
buildInDeclare
- Specified by:
buildInDeclarein interfaceDatabaseType- Overrides:
buildInDeclarein classComplexDatabaseType
-
buildOutDeclare
- Specified by:
buildOutDeclarein interfaceDatabaseType- Overrides:
buildOutDeclarein classComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) - Specified by:
buildOutAssignmentin interfaceDatabaseType- Overrides:
buildOutAssignmentin classComplexDatabaseType
-