[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. |