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

Lukasz Antoniak (JIRA) noreply at atlassian.com
Sat Jan 28 12:13:13 EST 2012


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45292#comment-45292 ] 

Lukasz Antoniak commented on HHH-6918:
--------------------------------------

Vyacheslav, I think that your tests might contain an error. Hibernate does not execute any DML statement during second revision in {{PrimaryKeyJoinColumnOneToOneTestCase}} test case (update {{@PrimaryKeyJoinColumn}} reference). Please verify. IMO this issue has been resolved together with HHH-3853 and HHH-6825.

> 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 ORM
>          Issue Type: Bug
>          Components: envers
>    Affects Versions: 3.6.8, 4.0.0.Final
>         Environment: test case in hibernate build envieronment.
>            Reporter: Vyacheslav
>            Assignee: Lukasz Antoniak
>              Labels: hibernate, hibernate-envers, one-to-one
>         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