[
http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-43?page...
]
Hardy Ferentschik commented on METAGEN-43:
------------------------------------------
Your zip files only contains your entities and not the maven module setup. Do you generate
{{Identifiable_}} in the module which contains {{Identifiable}} and does it get added to
the artifact? If so it should work. If not it is not going to work. Hibernate MetaModelGen
is a annotation processor and it works on the annotations of the classes on the source
path of the compiler. {{Identifiable}} won't be part of this. If you, however, have
{{Identifiable_}} in that jar file it should work thanks to METAGEN-35.
Maybe you could provide more feedback about your setup.
@Entity extending from @MappedSuperClass from another package does
not generate META MODEL properly
---------------------------------------------------------------------------------------------------
Key: METAGEN-43
URL:
http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-43
Project: Hibernate Metamodel Generator
Issue Type: Bug
Components: processor
Affects Versions: 1.1.0.CR1
Environment: mac os x
Reporter: Young lee
Assignee: Hardy Ferentschik
Fix For: 1.1.0.Final
Attachments: files.zip
I have a entity class SystemEvents which extends from Identifiable that is defined in
another maven module. (see attached files).
When I generate the META MODEL the generated meta model does not extend from
Identifiable_ as documented
{quote}
If class X extends another class S, where S is the most derived managed class (i.e.,
entity or mapped superclass) extended by X, then class X_ must extend class S_, where S_
is the metamodel class created for S.
{quote}
--
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