JPA Method
in javax.persistence.StoredProcedureQuery

int getUpdateCount()


Return the update count or -1 if there is no pending result or if the next result is not an update count.
Return:
update count or -1 if there is no pending result or if the next result is not an update count
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