Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
haqer1 opened this issue Apr 9, 2018 · 0 comments
Open

Comments

@haqer1
Copy link
Contributor

haqer1 commented Apr 9, 2018

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants