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

Closing Connection closes associated XAConnection

    XMLWordPrintable

Details

    Description

      Since upgrading to 3.5.0 we're seeing that calling

      Connction c = xaConnection.getConnection();
      /* ... */
      c.close();
      

      causes the physical connection to be closed. Subsequent calls to xaConnection.getConnection() return a connection in a closed state.

      It's clear from the documentation of PooledConnection that the physical connection is not closed until xaConnection.close() is called.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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