JPA Method
in javax.persistence.StoredProcedureQuery

List getResultList()


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, will be retrieved in the order the REF_CURSOR parameter was registered with the query.
Return:
a list of the results or null is the next item is not a result set
Throws:
QueryTimeoutException - if the query execution exceeds the query timeout value set and only the statement is rolled back
PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back
Since:
JPA 2.1