DBCP – validationQuery for different Databases
There is not only one validationQuery for all databases. On each database you have to use different validationQuery. After few hours of googling and testing I have collected this table: Database validationQuery notes hsqldb – select 1 from INFORMATION_SCHEMA.SYSTEM_USERS Oracle – select 1 from dual DB2 – select 1 from sysibm.sysdummy1 mysql – /* ping … Read more