Remove unintended deprecations on Query

Description

Initially this was reported in relation to Query#scroll. But a number of methods on Query were unintentionally deprecated in 5.2. What happened is that 5.2 deprecated org.hibernate.Query in favor of org.hibernate.query.Query. We used our "shadow" technique as we often do for a short-term bridge when moving contracts to a new package and deprecating the old. But we missed overriding some of those methods on the new contract to "hide" the deprecations from the old contract.

If we find any others prior to 5.2.8, use this Jira to fix those as well as we find them

BTW people have also brought up Query#iterate}]. While that was also deprecated in the same work where {{Query#scroll was deprecated (an was also unintended at the time) I actually plan on removing {{Query#iterate}] (see dev list discussion) so I will not be un-deprecating that one.

Environment

None

Activity

Show:
Steve Ebersole
January 27, 2017, 4:47 PM

If you find any others, please make note of them here if it is before 5.2.8. Thanks

Sanne Grinovero
January 27, 2017, 6:27 PM

Thanks Steve

Assignee

Steve Ebersole

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure