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

wrong statements.isClosed value after closing connection

Details

    Description

      Spec indicates :

      9.6.4.1 Connection.close
      An application calls the method Connection.close() to indicate that it has
      finished using a connection. All Statement objects created from a given
      Connection object will be closed when the close method for the Connection
      object is called.
      Once a Connection has been closed, any attempt to access any of its methods with
      the exception of the close(), isClosed() or isValid() methods will result in
      a SQLException being thrown.

      problem is that after closing a connection, using a statement isClosed might not return the expected True value.

      Attachments

        Activity

          diego dupin Diego Dupin created issue -
          diego dupin Diego Dupin made changes -
          Field Original Value New Value
          Component/s JDBC compatibility [ 15304 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          diego dupin Diego Dupin made changes -
          Fix Version/s 3.3.4 [ 29804 ]
          Fix Version/s 3.4.2 [ 29900 ]

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            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.