Unable to read audit when having ManyToOne relation nested in embeddable, placed in ElementCollection

Description

When having following mapping:

It looks like data is properly audited in DB. however when I read Provider using AuditReader, and try to call getProviderVelocity, I get an error:

Currently workaround is to make providerVelocity a regular entity. However ORM handles this correctly, but envers not.

Environment

any

Activity

Show:
Chris Cranford
June 10, 2017, 2:20 AM

This is a duplicate of HHH-11215.

Assignee

Chris Cranford

Reporter

Marek Guzowski

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.1.0

Components

Affects versions

Priority

Major
Configure