[hibernate-dev] ScrollableResults and 6.0

Chris Cranford crancran at gmail.com
Tue Jan 3 15:39:18 EST 2017


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev



More information about the hibernate-dev mailing list