Project based on the org.jboss.spec.archetypes:jboss-javaee6-webapp-archetype:7.1.3.Final Maven archetype
I simply added a property to the 'Member' entity.
@ElementCollection
private Map<String, ArrayList<Long>> aggregates;
And got this as generated:
public static volatile MapAttribute<Member, String, ArrayList<E>> aggregates;
Which causes the error:
E cannot be resolved to a type
Eclipse - Java 7 (64bit) - Hibernate versions from jBoss BOM 1.0.4.Final-redhat-4 (Except that hibernate-jpamodelgen is set to version 4.3.6.Final)