Retrieve the list of results from the next result set. The provider will call
execute on the query if needed. A REF_CURSOR result set, if any, is retrieved in the order the REF_CURSOR parameter was registered with the query.- Returns:
- a list of the results or null is the next item is not a result set.
- Throws:
- if the query execution exceeds the query timeout value set and the transaction is rolled back.PersistenceException- if the query execution exceeds the query timeout value set and only the statement is rolled back.QueryTimeoutException
- Since:
- Jakarta Persistence (JPA) 1.0