ValidityAuditStrategy: Collection of embeddables is not audited correctly in Hibernate

Solution Verified - Updated -

Issue

  • When a collection of embeddables is audited, the end revision is not stored when using the ValidityAuditStrategy.
  • In incorrect collection is returned when reading an audited entity with the AuditReader.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0
    • 6
  • Hibernate
    • 5.0
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.