class AbstractNeo4JOperation implements Neo4JOperation {

    protected void executeQuery(final Connection connection, final String query) throws SQLException {
        try (PreparedStatement ps = connection.prepareStatement(query)) {
            try (ResultSet rs = ps.executeQuery()) { /* nothing to do */ }
        }
    }

}