cloudstack/framework/db
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
..
src framework/db: dont' use validation query as connector is JDBC4 compliant 2024-05-22 20:22:39 +05:30
pom.xml Update version to 4.18.1.1 (#417) 2024-04-08 09:27:57 -06:00