### Eclipse Workspace Patch 1.0 #P jackrabbit-core Index: src/main/java/org/apache/jackrabbit/core/util/db/ConnectionFactory.java =================================================================== --- src/main/java/org/apache/jackrabbit/core/util/db/ConnectionFactory.java (revision 1361940) +++ src/main/java/org/apache/jackrabbit/core/util/db/ConnectionFactory.java (working copy) @@ -341,7 +341,12 @@ ds.setMaxActive(-1); // unlimited ds.setMaxIdle(GenericObjectPool.DEFAULT_MAX_IDLE + 10); ds.setValidationQuery(guessValidationQuery(url)); - ds.setValidationQueryTimeout(3); + try { + // JCR-3445 At the moment the PostgreSQL driver doesn't implement this method... + ds.setValidationQueryTimeout(3); + } catch (Exception e) { + // Nothing to do ... + } ds.setAccessToUnderlyingConnectionAllowed(true); ds.setPoolPreparedStatements(true); ds.setMaxOpenPreparedStatements(-1); // unlimited