[CONJ-1154] avoid unnecessary set transaction isolation queries Created: 2024-01-26  Updated: 2024-01-26

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

Type: New Feature Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Unresolved Votes: 0
Labels: None


 Description   

When using the connection.setTransactionIsolation connector, it will either prevent the command from running if the "useLocalSessionState" option is set and transaction isolation is equal to the value, or it will run the command.

Session state can reliably known transaction isolation and prevent unnecessary executions without the need for a local variable.


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