How can I map a Map in JPA without using Hibernate's classes?
Thanks in advance.
How can I map a Map in JPA without using Hibernate's classes?
Thanks in advance.
Does not the following work for you?
@ManyToMany(cascade = CascadeType.ALL)
Map<String,EntityType> entitytMap = new HashMap<String, EntityType>();