eclipselink « Stored Procedure « JPA Q&A





1. Reading Multiple Resultset using JPA    stackoverflow.com

I am using JPA(Eclipselink) to execute SQL Server Stored Procedure which returns multiple Resultsets. As per my knowledge, easiest way to call a SP is:

entityManager.createNativeQuery("exec sp_name").getResultList();
After executing the SP I can only ...