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

driver bypasses Hibernate statement tracking

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.1.2, 1.1.3
    • 1.1.4
    • None
    • None

    Description

      The following is output to the log when the Maria DB Java Connector driver is used with Hibernate (in a JBoss environment):

      WARN  [jdbc.internal.JdbcResourceRegistryImpl] HHH000387: ResultSet's statement was not registered

      This happens because the Hibernate code attempts to track statement references via interceptors on the Connection.createStatement() Statement.close() methods. When the driver code is creating statements to satisfy metadata queries it works below the JDBC API level, and therefore bypasses the interceptor on the createStatement() call.

      Unfortunately it's not easy for me to provide a reproduce for this issue, but i can provide more details if the issue isn't obvious.

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            jellis Jon Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.