[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6918) AuditException with @OneToOne-mappedBy on the owned side and @OneToOne with @PrimaryKeyJoinColumn on the owning

Vyacheslav (JIRA) noreply at atlassian.com
Fri Dec 23 08:08:19 EST 2011


AuditException with @OneToOne-mappedBy on the owned side and @OneToOne with @PrimaryKeyJoinColumn on the owning 
----------------------------------------------------------------------------------------------------------------

                 Key: HHH-6918
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6918
             Project: Hibernate Core
          Issue Type: Bug
          Components: envers
    Affects Versions: 4.0.0.Final, 3.6.8
         Environment: test case in hibernate build envieronment.
            Reporter: Vyacheslav
         Attachments: primarykeytest.tar.gz

Similar as https://hibernate.onjira.com/browse/HHH-6825

Query for both entities fails with exception
Envers test case attached.
1 error - Variable owningReferencePropertyName is null for owned side of relatioship.
2 error - Owning side of relationship processed with Envers as OneToOneNotOwning too.

Discussion - http://community.jboss.org/thread/175823?start=0&tstart=0

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list