[hibernate-dev] ScrollableResults and 6.0

Steve Ebersole steve at hibernate.org
Tue Dec 27 16:02:58 EST 2016

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?

More information about the hibernate-dev mailing list