Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1395

Change the client SQLState to match that of embedded for the exception thrown on a closed statement whose connection is also closed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.1.3.1, 10.2.1.6
    • 10.2.1.6
    • Network Client
    • None

    Description

      Scenario: Both connection and statement are closed and an operation is performed on a closed statement. SQLStates are as follows:

      Embedded: SQLSTATE: XJ012, Message: Statement Closed
      Client before DERBY-843 fix: SQLSTATE = null, message = Statement closed
      Client after DERBY-843 fix: SQLSTATE: 08003, Message: connection closed

      This issue is related to the effort started in DERBY-254.

      Attachments

        1. DERBY-1395.diff
          2 kB
          David Van Couvering

        Activity

          People

            davidvc David Van Couvering
            deepa Deepa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: