[hibernate-dev] ScrollableResults and 6.0

Steve Ebersole steve at hibernate.org
Tue Dec 27 16:01:24 EST 2016


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