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

Log a warning if @Cache / @Cacheable specified on non-root entities

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.21, 5.2.2, 5.0.11, 5.1.2
    • Fix Version/s: 5.2.9
    • Component/s: hibernate-core
    • Labels:
      None
    • backPortable:
      Backport?
    • Last commented by a user?:
      true

      Description

      It is not valid to specify @Cache or @Cacheable on non-root entities within an inheritance hierarchy. A warning should be logged if this found to be true.
      See also HHH-11142 Closed .

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: