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

Avoid initializing proxy when using covariant return types for ID getters

    Details

    • Type: Bug
    • Status: Awaiting Response
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 3.3.1
    • Fix versions: None
    • Components: hibernate-core
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      When using an entity hierarchy with overridden ID getters and covariant return types, Hibernate does not detect ID getter calls and unnecessarily initializes proxies in order to call the methods instead of just returing the ID.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated: