[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (METAGEN-64) Normal class in hierarchy breaks metamodel
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Thu Jul 7 09:36:54 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42799#action_42799 ]
Hardy Ferentschik edited comment on METAGEN-64 at 7/7/11 8:36 AM:
------------------------------------------------------------------
I guess the entity should extend the annotated base entity (skipping the non annotated class) or how else would one understand:
{quote}
If class X extends another class S, where S is the most derived managed class (i.e., entity or mappedsuperclass)extendedbyX,thenclassX_mustextendclassS_, whereS_isthemeta- model class created for S.
{quote}
was (Author: hardy.ferentschik):
I guess the entity should extend the annotated base entity (skipping the non annotated class) or how else would one understand:
{quote}
• If class X extends another class S, where S is the most derived managed class (i.e., entity or mappedsuperclass)extendedbyX,thenclassX_mustextendclassS_, whereS_isthemeta- model class created for S.
{quote}
> Normal class in hierarchy breaks metamodel
> ------------------------------------------
>
> Key: METAGEN-64
> URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-64
> Project: Hibernate Metamodel Generator
> Issue Type: Bug
> Affects Versions: 1.1.1.Final
> Environment: HIbernate 3.6.3.Final, PostgreSQL 8.4, Java 6
> Reporter: Robin Sander
> Assignee: Hardy Ferentschik
> Priority: Minor
> Fix For: 1.1.2.Final
>
> Attachments: metagen64.zip
>
>
> If an entity class extends a normal class which in turn extends another entity or a mapped superclass the generated meta model doesn't reflect this hierarchy.
--
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