Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.1.0
-
None
-
None
Description
Trying to invoke method first() on streaming result set results in NullPointerException. It should be SQLException telling that according to JDBC spec FORWARD_ONLY cursor does not match well with first()
stmt.setFetchSize(Integer.MIN_VALUE);
|
rs = stmt.executeQuery("SELECT dt FROM timeStamps"); |
rs.first();
|
ts = rs.getTimestamp(1); |