Issue Type: Bug Bug
Affects Versions: 4.1.7
Assignee: Unassigned
Attachments: EnversBugReport.zip
Components: envers
Created: 10/Oct/12 7:13 AM
Description:

As setup take an entity with a @OneToMany fake bidirectional relation (@JoinColumn(name = "blubb", insertable = false, updatable = false)) that uses @AuditMappedBy for Envers and furthermore a @ManyToMany (non-owning) relation. Initialize the @OneToMany relation, then on updating the @ManyToMany relation, Envers produces a wrong audit entry setting the @OneToMany-id to null.

Environment: Hibernate 4.1.7.FINAL, H2 database V 1.2.145
Project: Hibernate ORM
Labels: envers auditing
Priority: Major Major
Reporter: Peter Gafert
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira