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); |
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Issue Type | Task [ 3 ] | Bug [ 1 ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Closed [ 6 ] |
Workflow | defaullt [ 26216 ] | MariaDB v2 [ 47853 ] |
Workflow | MariaDB v2 [ 47853 ] | MariaDB connectors [ 54981 ] |
Workflow | MariaDB connectors [ 54981 ] | MariaDB v3 [ 70280 ] |
Workflow | MariaDB v3 [ 70280 ] | MariaDB v4 [ 134670 ] |