[ https://forge.continuent.org/jira/browse/SEQUOIA-233?page=all ]
Gilles Rayrat reopened SEQUOIA-233:
-----------------------------------
Assign To: Gilles Rayrat (was: Mathieu Peltier)
Reopening as the sledgehammer fixes could be more subtle: ResultSet streaming
is actually possible when the query is remapped to a statement execute, just by
adding the result to the streamedResult list
However, other cases (stored proc, batches, updates, ...) need the fixes bellow
> FetchNextResultSetRows fails when fetchsize = 1 after an execute() with a
> select query
> ---------------------------------------------------------------------------------------
>
> Key: SEQUOIA-233
> URL: https://forge.continuent.org/jira/browse/SEQUOIA-233
> Project: Sequoia
> Type: Bug
> Components: Core
> Versions: Sequoia 2.4
> Environment: Bug identified with Carob
> TestStatement::testExecuteWithSelectStreamed
> Reporter: Gilles Rayrat
> Assignee: Gilles Rayrat
> Fix For: Sequoia 2.5
>
>
> . setFecthSize(1)
> . execute("SELECT * FROM address")
> . First rs.next() -> ok
> . Second rs.next() -> BackendException "No valid ControllerResultSet to fetch
> data from"
> When removing setFetchSize(1), everything goes fine
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia