[hibernate-dev] ORM 5.2.x: Deprecation of some Query methods?
Steve Ebersole
steve at hibernate.org
Mon Jan 16 10:08:29 EST 2017
Well to be clear these methods are "deprecated" simply by the fact
that org.hibernate.Query
itself being deprecated. All that said...
- #scroll is not going away
- #iterate I already started a discussion about earlier on the dev list. I
personally would like to do away with it, but that needs to be a group
decision depending on how useful that is and how widely used it is (not
necessarily the same thing).
On Mon, Jan 16, 2017 at 6:31 AM Sanne Grinovero <sanne at hibernate.org> wrote:
Some methods from org.hibernate.Query<R> like
- org.hibernate.Query.scroll()
- org.hibernate.Query.iterate()
are now flagged as "deprecated method usage" in the IDE as they are
defined on the deprecated interface `org.hibernate.Query`, which is
being replaced by `org.hibernate.query.Query<R>`.
The new interface extends the old one, I guess for drop-in
compatibility reasons, however it doesn't explicitly re-define such
methods making me unsure about their destiny.
Are these really meant to be deprecated?
Thanks,
Sanne
_______________________________________________
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