Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.1.2, 1.1.3
-
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.