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, typeNameFields inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIXFields inherited from interface org.eclipse.persistence.platform.database.oracle.plsql.OraclePLSQLType
PLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONV -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(String fieldName, DatabaseType databaseType) voidaddField(String fieldName, DatabaseType databaseType, int length) voidaddField(String fieldName, DatabaseType databaseType, int precision, int scale) voidaddField(PLSQLargument field) voidbuildBeginBlock(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call) voidbuildInDeclare(StringBuilder sb, PLSQLargument inArg) voidbuildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) voidbuildOutDeclare(StringBuilder sb, PLSQLargument outArg) voidbuildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues) clone()intcomputeInIndex(PLSQLargument inArg, int newIndex, ListIterator<PLSQLargument> iterator) intcomputeOutIndex(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> iterator) Return the record's fields defined as PLSQLargument.intbooleanisRecord()voidlogParameter(StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform) voidtranslate(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, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
clonein classComplexDatabaseType
-
isRecord
public boolean isRecord()- Overrides:
isRecordin classComplexDatabaseType
-
getFields
Return the record's fields defined as PLSQLargument. -
getSqlCode
public int getSqlCode()- Specified by:
getSqlCodein interfaceDatabaseType
-
addField
-
addField
-
addField
-
addField
-
computeInIndex
- Specified by:
computeInIndexin interfaceDatabaseType- Overrides:
computeInIndexin classComplexDatabaseType
-
computeOutIndex
public int computeOutIndex(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> iterator) - Specified by:
computeOutIndexin interfaceDatabaseType- Overrides:
computeOutIndexin classComplexDatabaseType
-
buildInDeclare
- Specified by:
buildInDeclarein interfaceDatabaseType- Overrides:
buildInDeclarein classComplexDatabaseType
-
buildOutDeclare
- Specified by:
buildOutDeclarein interfaceDatabaseType- Overrides:
buildOutDeclarein classComplexDatabaseType
-
buildBeginBlock
- Specified by:
buildBeginBlockin interfaceDatabaseType- Overrides:
buildBeginBlockin classComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call) - Specified by:
buildOutAssignmentin interfaceDatabaseType- Overrides:
buildOutAssignmentin classComplexDatabaseType
-
translate
public void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, List<DatabaseField> copyOfTranslationFields, List<DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call) - Specified by:
translatein interfaceDatabaseType- Overrides:
translatein classComplexDatabaseType
-
buildOutputRow
public void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, List<DatabaseField> outputRowFields, List outputRowValues) - Specified by:
buildOutputRowin interfaceDatabaseType- Overrides:
buildOutputRowin classComplexDatabaseType
-
logParameter
public void logParameter(StringBuilder sb, DatasourceCall.ParameterType direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform) - Specified by:
logParameterin interfaceDatabaseType- Overrides:
logParameterin classComplexDatabaseType
-