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

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


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

Jan Rehwaldt edited comment on METAGEN-67 at 11/29/11 9:07 AM:
---------------------------------------------------------------

If the test case is changed to not contain an id the test fails (Product class without id).

The test will also fail if the Product is not a @MappedSuperclass, but rather an @Embeddable.

      was (Author: jrehwaldt):
    If the test case is changed to not contain an id the test fails (Product class without id).
  
> @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