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

SPEC BUG: javax.sql.rowset.RowSetMetaDataImpl: "if so" issue

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
      ===================
      Considerable big amount of RowSetMetaDataImpl methods' javadoc
      contain (this or something like this):

      public boolean isAutoIncrement(int columnIndex) throws java.sql.SQLException

          "Retrieves whether a value stored in the designated column is
           automatically numbered, and thus readonly.
           ...
           Parameters:
               columnIndex - the first column is 1, the second is 2, and so
                   on; must be between 1 and the number of columns, inclusive
           Returns:
               true if so; false otherwise"

      The phrase "if so" sounds ambiguous. It is implicitly understood that
      this is about the
          "Retrieves whether a value stored in the designated column is
           automatically numbered, and thus readonly."

      but there is a possibility exists that this can be refered to

          "the first column is 1, the second is 2, and so on; must be
           between 1 and the number of columns, inclusive".

      Believe this should be worked out. Refinement issue.

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

            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: