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

Document that the @Filter annotation only applies to query

    Details

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

      Description

      Following this StackOverflow question, the @Filter annotation that's enabled for the current Session only applies to entity queries, but not to direct fetching (loading the entity by its identifier.

      We should get this documented.

        Attachments

          Activity

            People

            • Assignee:
              mih_vlad Vlad Mihalcea
              Reporter:
              mih_vlad Vlad Mihalcea
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: