arangodb / arangodb/spring-data

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

Open
#30 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
116
Forks
57
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked JPA MapKey and MapKeyEnumerated documentation, then inspect the repository's association-mapping entry points. Decide whether to reuse those annotations or introduce distinct ones, and define completion as support for Map associations with customizable keys and the relevant JPA 2 options.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.