[#1141] Add Result.intoResultSet() to wrap a Result in a JDBC ResultSet

This commit is contained in:
Lukas Eder 2012-07-06 14:09:22 +02:00
parent f89c193529
commit 7728053c65

View File

@ -1325,4 +1325,13 @@ class ResultSetImpl extends JDBC41ResultSet implements ResultSet, Serializable {
return result.getField(column - 1).getType().getName();
}
}
// -------------------------------------------------------------------------
// XXX: Object API
// -------------------------------------------------------------------------
@Override
public String toString() {
return result == null ? "null" : result.toString();
}
}