Class PLSQLCursor
java.lang.Object
org.eclipse.persistence.internal.helper.ComplexDatabaseType
org.eclipse.persistence.platform.database.oracle.plsql.PLSQLCursor
- All Implemented Interfaces:
Cloneable
,org.eclipse.persistence.internal.helper.DatabaseType
,org.eclipse.persistence.internal.helper.SimpleDatabaseType
,OraclePLSQLType
public class PLSQLCursor
extends org.eclipse.persistence.internal.helper.ComplexDatabaseType
implements OraclePLSQLType, Cloneable
PUBLIC: describe an Oracle PL/SQL Cursor type
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
org.eclipse.persistence.internal.helper.DatabaseType.DatabaseTypeHelper
-
Field Summary
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
Fields inherited from interface org.eclipse.persistence.platform.database.oracle.plsql.OraclePLSQLType
PLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONV
-
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) clone()
int
computeInIndex
(PLSQLargument inArg, int newIndex, ListIterator<PLSQLargument> i) int
computeOutIndex
(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> iterator) int
boolean
isCursor()
Indicates if a given subclass represents a PL/SQL cursor.Methods inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
buildOutputRow, getCompatibleType, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isComplexDatabaseType, isJDBCType, isRecord, isStruct, logParameter, logParameter, setCompatibleType, setJavaType, setJavaTypeName, setTypeName, toString, translate
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
buildOutputRow, getConversionCode, getTypeName, isComplexDatabaseType, isJDBCType, logParameter, logParameter, translate
-
Constructor Details
-
PLSQLCursor
public PLSQLCursor() -
PLSQLCursor
-
-
Method Details
-
clone
- Overrides:
clone
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
isCursor
public boolean isCursor()Description copied from class:org.eclipse.persistence.internal.helper.ComplexDatabaseType
Indicates if a given subclass represents a PL/SQL cursor.- Overrides:
isCursor
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
- See Also:
-
getSqlCode
public int getSqlCode()- Specified by:
getSqlCode
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
-
computeInIndex
- Specified by:
computeInIndex
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
computeInIndex
in classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
computeOutIndex
public int computeOutIndex(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> iterator) - Specified by:
computeOutIndex
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
computeOutIndex
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
-
buildBeginBlock
- Specified by:
buildBeginBlock
in interfaceorg.eclipse.persistence.internal.helper.DatabaseType
- Overrides:
buildBeginBlock
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
-