I'm also for changing the signature, therefore simplifying the
implementation. We've had some issues due to the fact that it expects
Object[] and Chris and I had to do some hacks to fix them.
Vlad
On Tue, Jan 3, 2017 at 10:39 PM, Chris Cranford <crancran(a)gmail.com> wrote:
Steve -
I'm inclined to agree that changing signatures makes the most sense at
this point.
Chris
On 12/27/2016 04:02 PM, Steve Ebersole wrote:
> FWIW my inclination is to just change the existing signatures. 6.0 is a
> major release with major changes already wrt querying.
>
>
> On Tue, Dec 27, 2016 at 3:01 PM Steve Ebersole <steve(a)hibernate.org>
wrote:
>
>> For 6.0 I'd like to also make ScrollableResults parameterized wrt the
"row
>> type". E.g.
>>
>> ScrollableResults<Person> sr = session.createQuery( ..., Person.class
>> ).scroll();
>>
>> However that changes the signature of its methods returning a "row"
>> (currently always defined as Object[]).
>>
>> How would everyone prefer we handle this? Do I just change the
signatures
>> of the existing methods? Or add new methods?
>>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev