@Override
        public Connection openConnection() throws SQLException {
            return ConnectionInvocationHandler.newInstance(target.openConnection(), connCount);
        }
Oracle was getting angry about too many open cursors because of the large number of prepared statements being created and cached indefinitely.
core/src/test/java/org/jdbi/v3/core/TestTooManyCursors.java