Class PLSQLCursor

  • All Implemented Interfaces:
    java.lang.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, java.lang.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
    • Constructor Summary

      Constructors 
      Constructor Description
      PLSQLCursor()  
      PLSQLCursor​(java.lang.String cursorName)  
    • Constructor Detail

      • PLSQLCursor

        public PLSQLCursor()
      • PLSQLCursor

        public PLSQLCursor​(java.lang.String cursorName)
    • Method Detail

      • clone

        public PLSQLCursor clone()
        Overrides:
        clone in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • isCursor

        public boolean isCursor()
        Overrides:
        isCursor in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • getSqlCode

        public int getSqlCode()
        Specified by:
        getSqlCode in interface org.eclipse.persistence.internal.helper.DatabaseType
      • computeInIndex

        public int computeInIndex​(PLSQLargument inArg,
                                  int newIndex,
                                  java.util.ListIterator<PLSQLargument> i)
        Specified by:
        computeInIndex in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        computeInIndex in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • computeOutIndex

        public int computeOutIndex​(PLSQLargument outArg,
                                   int newIndex,
                                   java.util.ListIterator<PLSQLargument> iterator)
        Specified by:
        computeOutIndex in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        computeOutIndex in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • buildInDeclare

        public void buildInDeclare​(java.lang.StringBuilder sb,
                                   PLSQLargument inArg)
        Specified by:
        buildInDeclare in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        buildInDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • buildOutDeclare

        public void buildOutDeclare​(java.lang.StringBuilder sb,
                                    PLSQLargument outArg)
        Specified by:
        buildOutDeclare in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        buildOutDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • buildBeginBlock

        public void buildBeginBlock​(java.lang.StringBuilder sb,
                                    PLSQLargument arg,
                                    PLSQLStoredProcedureCall call)
        Specified by:
        buildBeginBlock in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        buildBeginBlock in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • buildOutAssignment

        public void buildOutAssignment​(java.lang.StringBuilder sb,
                                       PLSQLargument outArg,
                                       PLSQLStoredProcedureCall call)
        Specified by:
        buildOutAssignment in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        buildOutAssignment in class org.eclipse.persistence.internal.helper.ComplexDatabaseType