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

JDBC spec indicate that connection close must explicitly close statements

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • 3.4
    • None
    • None

    Description

      JDBC specification indicates "All Statement objects created from a given
      Connection object will be closed when the close method for the Connection
      object is called."
      This isn't done in our connector, and in cases of pool use, and wrong implementation, this can lead to wrong use.

      best would be to implement that correctly, with mysql option `dontTrackOpenResources` in order to keep current behavior.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.