postgresql driver with the isValid method implemented is not deployed in maven central, so for the moment, using the old select 1 method