[hibernate-issues] [Hibernate-JIRA] Commented: (METAGEN-67) @ManyToOne fields in a @MappedSuperclass are not taken into account

Jan Rehwaldt (JIRA) noreply at atlassian.com
Tue Nov 29 10:51:19 EST 2011


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

Jan Rehwaldt commented on METAGEN-67:
-------------------------------------

If I change the Product class to have @Access(AccessType.FIELD) added to the shop member the test (@Embeddable and @MappedSuperclass without @Id) becomes green. Is that exspected?

Cause: AnnotationMetaEmbeddable#addPersistentMembers(...) at line 125 (current master branch).

> @ManyToOne fields in a @MappedSuperclass are not taken into account
> -------------------------------------------------------------------
>
>                 Key: METAGEN-67
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-67
>             Project: Hibernate Metamodel Generator
>          Issue Type: Bug
>          Components: processor
>    Affects Versions: 1.1.1.Final
>         Environment: Hibernate 3.6.1
>            Reporter: Matthieu Bertin
>            Assignee: Hardy Ferentschik
>             Fix For: 1.2.next
>
>
> all the @manytoone fields in a mappedsuperclass are absent in the generated metamodel.

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