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

Client and embedded differ on sending StatementEvent on Connection.close()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: None
    • Component/s: JDBC
    • Environment:
      JDBC 4.0
    • Urgency:
      Normal
    • Bug behavior facts:
      Embedded/Client difference

      Description

      When a connection is closed, the client driver sends a StatementEvent to all StatementEventListeners registered on the connection being closed. The embedded driver does not send StatementEvents when a connection is closed. Examples can be found in jdbc4/StatementEventsTest. Look for code that calls usingEmbedded() and usingDerbyNetClient() in that class.

      Embedded and client should match if possible, per DERBY-310.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: