[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:56:20 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 edited comment on METAGEN-67 at 11/29/11 9:54 AM:
---------------------------------------------------------------
If I change the Product class to have @Access(AccessType.FIELD) added to the shop member the test (@Embeddable or @MappedSuperclass without @Id) becomes green. Is that expected?
Cause: AnnotationMetaEmbeddable#addPersistentMembers(...) at line 125 (current master branch).
was (Author: jrehwaldt):
If I change the Product class to have @Access(AccessType.FIELD) added to the shop member the test (@Embeddable or @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