What steps will reproduce the problem?
1.@Entity contains a Map<String,String>
2.It is annotated with @ElementCollection and @CollectionTable
3.Fails within JPAEdmGenerator..
It JPAEdmGenerator only deals with EntityTypes and does not understand javax.persitence.metamodel.BasicType.
JPAEdmGenerator.getEntitySetName(EntityType) only deals with EntityType.
What is the expected output? What do you see instead?
Should be able to deal with BasicTypes or most defined within
javax.persitence.metamodel
Please use labels and text to provide additional information.
Example definition
@ElementCollection
@CollectionTable(joinColumns=@JoinColumn(name="string_id")
public Map<String,String> options;
More information regarding JPA java.util.Map can be found
http://hwellmann.blogspot.com/2010/07/jpa-20-mapping-map.html
Original issue reported on code.google.com by alpivo...@gmail.com on 8 Sep 2011 at 2:01
Original issue reported on code.google.com by
alpivo...@gmail.com
on 8 Sep 2011 at 2:01