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

SPEC BUG: javax.sql.rowset.serial.SQLInputImpl: minor issues

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
      ===================
      public java.sql.Blob readBlob() throws java.sql.SQLException
      public java.sql.Ref readRef() throws java.sql.SQLException
      and some others

          It is unspecified
          "Returns: ... if the value is SQL NULL, return null"

          But it specified for other methods, like:
          readTime
          readAsciiStream
          readTime
          
          It is sort of inconsistency. Guess it is a typo or something.

      public boolean wasNull() throws java.sql.SQLException

          "Throws: java.sql.SQLException - if the read position is located
           at an invalid position;"

          Pretty cloudy assertion since there is no reading performing.

      public boolean wasNull() throws java.sql.SQLException

          Default value is unspecified. If no reading has been
          performed before.


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

            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: