Module org.eclipse.persistence.core
Class PLSQLrecord
java.lang.Object
org.eclipse.persistence.internal.helper.ComplexDatabaseType
org.eclipse.persistence.platform.database.oracle.plsql.PLSQLrecord
- All Implemented Interfaces:
Cloneable
,DatabaseType
,SimpleDatabaseType
,OraclePLSQLType
PUBLIC: describe an Oracle PL/SQL Record type
- Since:
- Oracle TopLink 11.x.x
-
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, typeName
Fields inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX
Fields inherited from interface org.eclipse.persistence.platform.database.oracle.plsql.OraclePLSQLType
PLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONV
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addField
(String fieldName, DatabaseType databaseType) void
addField
(String fieldName, DatabaseType databaseType, int length) void
addField
(String fieldName, DatabaseType databaseType, int precision, int scale) void
addField
(PLSQLargument field) void
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) void
buildOutputRow
(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues) clone()
int
computeInIndex
(PLSQLargument inArg, int newIndex, ListIterator<PLSQLargument> iterator) int
computeOutIndex
(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> iterator) Return the record's fields defined as PLSQLargument.int
boolean
isRecord()
void
logParameter
(StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform) void
translate
(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call) Methods inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
getCompatibleType, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isComplexDatabaseType, isCursor, isJDBCType, isStruct, setCompatibleType, setJavaType, setJavaTypeName, setTypeName, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
getConversionCode, getTypeName, isComplexDatabaseType, isJDBCType
-
Field Details
-
fields
-
-
Constructor Details
-
PLSQLrecord
public PLSQLrecord()
-
-
Method Details
-
clone
- Overrides:
clone
in classComplexDatabaseType
-
isRecord
public boolean isRecord()- Overrides:
isRecord
in classComplexDatabaseType
-
getFields
Return the record's fields defined as PLSQLargument. -
getSqlCode
public int getSqlCode()- Specified by:
getSqlCode
in interfaceDatabaseType
-
addField
-
addField
-
addField
-
addField
-
computeInIndex
- Specified by:
computeInIndex
in interfaceDatabaseType
- Overrides:
computeInIndex
in classComplexDatabaseType
-
computeOutIndex
public int computeOutIndex(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> iterator) - Specified by:
computeOutIndex
in interfaceDatabaseType
- Overrides:
computeOutIndex
in classComplexDatabaseType
-
buildInDeclare
- Specified by:
buildInDeclare
in interfaceDatabaseType
- Overrides:
buildInDeclare
in classComplexDatabaseType
-
buildOutDeclare
- Specified by:
buildOutDeclare
in interfaceDatabaseType
- Overrides:
buildOutDeclare
in classComplexDatabaseType
-
buildBeginBlock
- Specified by:
buildBeginBlock
in interfaceDatabaseType
- Overrides:
buildBeginBlock
in classComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) - Specified by:
buildOutAssignment
in interfaceDatabaseType
- Overrides:
buildOutAssignment
in classComplexDatabaseType
-
translate
public void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call) - Specified by:
translate
in interfaceDatabaseType
- Overrides:
translate
in classComplexDatabaseType
-
buildOutputRow
public void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues) - Specified by:
buildOutputRow
in interfaceDatabaseType
- Overrides:
buildOutputRow
in classComplexDatabaseType
-
logParameter
public void logParameter(StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform) - Specified by:
logParameter
in interfaceDatabaseType
- Overrides:
logParameter
in classComplexDatabaseType
-