Re: [hibernate-dev] Multiple ResultSets from JDBC execution

2018-06-10 Thread Christian Beikov
+1 from me as well on that. Mit freundlichen Grüßen, *Christian Beikov* Am 25.05.2018 um 17:24 schrieb Scott Marlow: > On Fri, May 25, 2018 at 8:59 AM, Steve Ebersole wrote: > >> Great that was actually my thought as well.

Re: [hibernate-dev] Multiple ResultSets from JDBC execution

2018-05-25 Thread Scott Marlow
On Fri, May 25, 2018 at 8:59 AM, Steve Ebersole wrote: > Great that was actually my thought as well. > > Anyone else? > +1 for being able to treat the result sets as not the same. Scott ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org http

Re: [hibernate-dev] Multiple ResultSets from JDBC execution

2018-05-25 Thread Steve Ebersole
Great that was actually my thought as well. Anyone else? On Fri, May 25, 2018, 12:03 AM Vlad Mihalcea wrote: > I think that by default we should not assume the result sets are the same. > > Only if we provide a certain QueryHint (JPA) or call a specific method > (Hibernate API) should we instr

[hibernate-dev] Multiple ResultSets from JDBC execution

2018-05-23 Thread Steve Ebersole
Execution of procedure calls, function calls and anonymous blocks can all lead to JDBC returning us multiple ResultSets. To account for this (for the first 2 anyway) JPA allows defining multiple ResultSetMapping references for the StoredProcesdureQuery. Alternatively, it allows specifying multipl