[
http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-64?page...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira