spring-data icon indicating copy to clipboard operation
spring-data copied to clipboard

Add support for associations of type Map, including customizable map key

Open haqer1 opened this issue 7 years ago • 0 comments

The core equivalent from JPA 1 is the following annotation: https://javaee.github.io/javaee-spec/javadocs/javax/persistence/MapKey.html

P.S. But a few other "bells-and-whistles" have been added in JPA 2. E.g.: https://javaee.github.io/javaee-spec/javadocs/javax/persistence/MapKeyEnumerated.html P.P.S. It's also worth considering here whether to use the same annotation(s), or to add distinct one(s).

haqer1 avatar Apr 09 '18 10:04 haqer1