[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5191) CollectionMetadataGenerator fails to obtain mappedBy attribute when is defined on superclasses

Adam Warski (JIRA) noreply at atlassian.com
Sat May 15 10:58:24 EDT 2010


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

Adam Warski commented on HHH-5191:
----------------------------------

Hello,

I know what I did wrong: I was running the tests only from the envers directory, and didn't rebuild the whole project, so it was using the wrong dependencies. Sorry again for the problems.

I re-merged (part) of the changes and commited, so I'll resolve the issue, hopefully once and for all :).

And please do not imply that I am not telling the truth.

Adam

> CollectionMetadataGenerator fails to obtain mappedBy attribute when is defined on superclasses
> ----------------------------------------------------------------------------------------------
>
>                 Key: HHH-5191
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5191
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: envers
>    Affects Versions: 3.5.1
>         Environment: Hibernate-envers build from branch_3_5 (3.5.2-SNAPSHOT)
>            Reporter: Hernán Chanfreau
>            Assignee: Adam Warski
>             Fix For: 3.5.x, 3.6
>
>         Attachments: mappedByOnSuperclassProposalPatch.txt, mappedByOnSuperclassTestPatch.txt
>
>
> When the inverse side on a bidirectional relation is defined on a superclass, envers fails to configure the mappedBy attribute because it doesn't search on superclasses.
> Here is the original discussion: http://community.jboss.org/thread/151240?tstart=0
> I'm attaching two patcher. One contains 2 test cases and another with some modifications for this.
> Regards. Hernán.

-- 
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