[CONJ-1096] adding option useLocalSessionState Created: 2023-07-31 Updated: 2023-07-31 Resolved: 2023-07-31 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | MySQL compatibility, Other, performance |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
using useLocalSessionState like mysql for performance compatibility. When user explicitly indicate that only JDBC methods are used, for example using connection.setTransactionIsolation() and never queries like "SET SESSION TRANSACTION ISOLATION LEVEL X" directly, this will permit to avoid unnecessary queries using local state |