[
http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-37?page...
]
Igor Vaynberg commented on METAGEN-37:
--------------------------------------
bleh. looks like i spoke too soon. everything is fine when running from command line with
{code}mvn generate-sources{code}, it produces code like this:
{code}public static volatile SetAttribute<AttachmentGroup, AttachmentGroupPost>
posts;{code}
however, when running from eclipse we are back to {code}
{code}public static volatile SetAttribute<AttachmentGroup,
AttachmentGroupPost<UserRoleType,GroupType,UnreadType>> posts;
{code}
eclipse is using the same jar as the cli, i checked. something in eclipse's mirror
model is probably breaking this :(
MappedSuperclass with type parameters result in uncompilable
metamodels
-----------------------------------------------------------------------
Key: METAGEN-37
URL:
http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-37
Project: Hibernate Metamodel Generator
Issue Type: Bug
Components: processor
Affects Versions: 1.0.0.Final
Reporter: Clint Popetz
Assignee: Hardy Ferentschik
Fix For: 1.1.0
Attachments: templatebug.tar.gz
The attached tgz illustrates the bug, run mvn compile. The metamodel for the base class
either needs a type param (and likewise the extends class on the sub-metamodel), or the
base class needs to be generated with Object as the type
--
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