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

Revision queries broken for @ElementCollection of @Embeddable with nullable properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.3.0.Beta4, 4.2.6
    • Fix Version/s: None
    • Component/s: hibernate-envers
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      1. Create an audited @Entity with a list of @Embeddable components. Make sure the @Embeddable class has a nullable property.

      2. Create multiple revisions of an entity without populating the nullable property of any component.

      3. Query for a specific version of the entity with AuditReader.find. Observe that the list of components is always empty.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: