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

SPEC BUG: javax.sql.rowset.RowSetMetaDataImpl: invalid input ints

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
      ===================
      Javadoc for RowSetMetaDataImpl methods that accept int type
      param(s) does not specify the expected behaviour in case the
      designated param(s) are invalid.

      They are:
      public void setColumnCount(int columnCount) throws java.sql.SQLException

          Unspecified the expected behaviour in case columnCount <= 0;

      public void setColumnDisplaySize(int columnIndex, int size) throws java.sql.SQLException

          Unspecified the expected behaviour in case size <= 0;

      public void setPrecision(int columnIndex, int precision) throws java.sql.SQLException

          Unspecified the expected behaviour in case precision <= 0;

          Unspecified the expected behaviour in case precision <(=) scale property;

      public void setScale(int columnIndex, int scale) throws java.sql.SQLException

          Unspecified the expected behaviour in case scale <= 0;

          Unspecified the expected behaviour in case scale >(=) precision property;

      public void setColumnType(int columnIndex, int SQLType) throws java.sql.SQLException

          Unspecified the expected behaviour in case SQLType is not one of
          specified in java.sql.Types.


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

            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: