Change By: Hardy Ferentschik (23/Oct/12 8:00 AM)
Description: I'd like to generate the meta model for the following entity, that is a generic abstract class: 

{code}
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;

}
{code}
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