[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4754) @AuditMappedBy broken with inheritence
Chris Raschl (JIRA)
noreply at atlassian.com
Tue Jan 5 08:09:29 EST 2010
@AuditMappedBy broken with inheritence
--------------------------------------
Key: HHH-4754
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4754
Project: Hibernate Core
Issue Type: Bug
Components: envers
Environment: envers-hibernate-3.3 Branch
Reporter: Chris Raschl
Priority: Minor
Attachments: auditMappedBy-fix.diff
Consider following entities:
- A (having a "fake" bidirectional Association annotated with @AuditMappedBy)
- B extends A
If B is persisted or updated with a change made to the collection annotated with @AuditMappedBy the AuditEventListener does not check "fake" many-to-one bidirectional relations correctly, because the super class is not considered (although that has already been implemented in EntitiesConfigurations).
I've attached the fix (I was not sure which format to use, hope this is ok)...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list