Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-849

con/j should not close connection caused java.io.NotSerializableException as a result of incorrect data bind to a prepared statement parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2, 2.7.1
    • Fix Version/s: 2.7.2
    • Component/s: Other
    • Labels:
      None

      Description

      If java.io.NotSerializableException is thrown as a result of incorrect data bind to a prepared statement parameter, JDBC driver closes the connection.
      Instead, it should treat java.io.NotSerializableException differently similar to how it is handling MaxAllowedPacketException.

      AbstractQueryProtocol

      NotSerializableException is a transient exception that can be handled without having to close the connection.

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            Richard Richard Stracke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: