Issue Type: Bug Bug
Assignee: Hardy Ferentschik
Components: processor
Created: 23/Oct/12 7:43 AM
Description:

I'd like to generate the meta model for the following entity, that is a generic abstract class:

import javax.persistence.Entity;
import javax.persistence.GenerationType;

@Entity
public abstract class HelloWorld<T> { @javax.persistence.Id @javax.persistence.GeneratedValue(strategy = GenerationType.IDENTITY) Long id; }

The model is generated successfully, but the resulting class is not generic. The "<T>" is missing:

import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;

@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor")
@StaticMetamodel(HelloWorld.class)
public abstract class HelloWorld_ { public static volatile SingularAttribute<HelloWorld, Long> id; }

Project: Hibernate Metamodel Generator
Priority: Critical Critical
Reporter: Michael Hüttermann
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira