@Override
    public boolean hasNext() {
        try {
            return !resultSet.isLast();
        } catch (SQLException e) {
            return true;
        }
    }
@see io.apiman.gateway.engine.components.jdbc.IJdbcResultSet#hasNext()
gateway/engine/core/src/main/java/io/apiman/gateway/engine/impl/DefaultJdbcResultSet.java