Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4941680

SPEC BUG: javax.sql.rowset.BaseRowSet: primitives in getParams

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.6



      Name: sdR10048 Date: 10/22/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b23"

      Problem description
      ===================

      All setXXX methods contains the following quote:

          "Primitives and object instances values to be used as JDBC RowSet
          command parameters are stored internally as object instances in an
          internal Vector object instance."

          At first it is unspecified how primitives are stored.
          byte -> Byte, int -> Integer. It should be noted.

      The same about public java.lang.Object[] getParams()

          "Each element in the array that is returned is an Object instance
          that contains the values of the parameters supplied to a setter
          method. The order of the elements is determined by the value supplied
          for parameterIndex. If the setter method takes only the parameter
          index and the value to be set, the array element will contain the
          value to be set (which must be expressed as an Object). If there are
          additional parameters, the array element will itself be an array
          containing the value to be set plus any additional parameter values
          supplied to the setter method. These additional parameters are for the
          use of the driver or the DBMS and may or may not be used."

          Information about the wrapping primitives into corresponding
          object should be stated.

      ======================================================================

            jbrucesunw Jonathan Bruce (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: