@ManagementOperation(description = "The SQL query used to test a connection before returning it") public String getTestQuery() { return delegate.getTestQuery(); }
@ManagementOperation(description = "The SQL query used to test a connection before returning it") public String getTestQuery() { return delegate.getTestQuery(); }
connectionPool = new ConnectionPoolWithConcurrentValidation(cf, this); } else { if ( getTestQuery() != null ) LOGGER.logWarning ( this + ": testQuery set - pool may be slower / you might want to consider setting maxLifetime instead..." ); connectionPool = new ConnectionPoolWithSynchronizedValidation(cf, this);