We're updating the issue view to help you get more done. 

Unable to populate an ElementCollection (of an embeddable type) of an audited entity when the collection has a null value for a property with JoinColumn

Description

When there is a parent entity that has a List of an Embeddable object, and that Embeddable object defines a @JoinColumn, AuditReader fails to populate the List with the values if the property with the JoinColumn has not been set (is null). Test case to follow.

Test case:
https://github.com/cklab/hibernate-test-case-templates/tree/hhh11364/envers/envers-5

Environment

MySQL 5.6.24
Hibernate 5.2.6

Status

Assignee

Chris Cranford

Reporter

CK Guven

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

5.2.6

Priority

Major