Issue Type: Bug Bug
Affects Versions: 4.1.9
Assignee: Unassigned
Components: envers
Created: 28/Jan/13 2:49 AM
Description:

We have @OneToMany biderectional association (with mapped by):
Ticket -> comments (@OneToMany)
Comment -> ticket (@ManyToOne)

Follow steps:

1. Insert comment -> this creates CollectionChangeWorkUnit on ticket
2. Update ticket -> this creates ModWorkUnit on ticket
3. AuditProcess calls merge -> second ModWorkUnit returns

Created ModWorkUnit should have comments_AUD = true, but the value is false.

I suppose the same issue happens with AddWorkUnit.

Project: Hibernate ORM
Priority: Major Major
Reporter: Michal Kurtak
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