We're updating the issue view to help you get more done. 

Modelgen error caused by Map<String, ArrayList<Long>> property

Description

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

Environment

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)

Status

Assignee

Unassigned

Reporter

Nicholas

Fix versions

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

4.3.6

Priority

Major