cloudstack/framework
Rohit Yadav 1c02166d29 framework/db: dont' use validation query as connector is JDBC4 compliant
Per docs, if the mysql connector is JDBC2 compliant then it should use
the Connection.isValid API to test a connection.
(https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#isValid-int-)

This would significantly reduce query lags and API throughput, as for
every SQL query one or two SELECT 1 are performed everytime a Connection
is given to application logic.

This should only be accepted when the driver is JDBC4 complaint.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2024-05-22 20:22:39 +05:30
..
agent-lb Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
ca Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
cluster Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
config framework/config: make logic in ::value() defensive (#449) 2024-05-22 20:20:37 +05:30
db framework/db: dont' use validation query as connector is JDBC4 compliant 2024-05-22 20:22:39 +05:30
direct-download Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
events Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
ipc Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
jobs Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
managed-context Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
quota Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
rest Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
security Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
spring Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00
pom.xml Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00