[teiid-issues] [JBoss JIRA] (TEIID-2225) ResultSet.isLast() blocks in non-continuous query mode

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Sat Sep 22 06:53:34 EDT 2012


     [ https://issues.jboss.org/browse/TEIID-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2225.
-----------------------------------

    Resolution: Done


Resolved with the commit to TEIID-2224.  An AsynchPositioningException will be thrown if a blocking method is called to change the position to results that have yet to be formed.
                
> ResultSet.isLast() blocks in non-continuous query mode
> ------------------------------------------------------
>
>                 Key: TEIID-2225
>                 URL: https://issues.jboss.org/browse/TEIID-2225
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Driver
>    Affects Versions: 8.1
>            Reporter: Mark Addleman
>            Assignee: Steven Hawkins
>
> I am executing a query using submitExecute(StatementCallback) under non-continuous mode.  In the onRow() method of the callback, I execute ResultSet.isLast().  The query is against an execution whose next() method initially throws DataNotAvailable.NO_POLLING.  Some time later, it calls ExecutionContext.dataAvailable().  After 255 rows reported through the callback's onRow(), ResultSet.isLast() hangs.
> I know that the entire result set is ultimately returned from the execution's next() and it returns null at the last call.
> See https://community.jboss.org/thread/205559?tstart=0 for more detail

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list