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

unclear when Statement.getWarnings() may be called

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • docs
    • merlin
    • generic
    • generic
    • Verified



      Name: krT82822 Date: 09/23/99


      The JDBC specification doesn't say whether
      Statement.getWarnings() may be called after a statement has
      been closed. The Sybase jConnect driver throws an exception,
      while it's possible that other drivers may have warnings to
      report as a result of the close() call. Clarifying this and
      adding it to the test suite would make it easier to write
      driver-independent code.

      Similar issues apply to Connection.getWarnings() and in general
      the specification should say more about when warnings may be
      generated and fetched so we can make sure they're always
      reported.
      (Review ID: 95614)
      ======================================================================

            mfishersunw Maydene Fisher (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: