Uploaded image for project: 'Hibernate ORM'
  1. HHH-11431

Remove unintended deprecations on Query

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.8
    • Component/s: None
    • Labels:
      None
    • Last commented by a user?:
      true

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: