[CONJ-1147] JDBC spec indicate that connection close must explicitly close statements Created: 2024-01-08  Updated: 2024-01-08

Status: Open
Project: MariaDB Connector/J
Component/s: None
Affects Version/s: None
Fix Version/s: 3.4

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Unresolved Votes: 0
Labels: 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.


Generated at Thu Feb 08 03:20:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.