key « Eclipse « JPA Q&A





1. How to use @BasicMap for a HashMap whose key values are entities    stackoverflow.com

How should I use EclipseLink's @BasicMap annotation for a map whose key value is an entity and the value is an Integer?


@Entity
class A {

   // This doesn't work, as ...