micronaut-projects / micronaut-projects/micronaut-data

Add support for @ElementCollection in Micronaut Data JDBC

Open
#213 3 comments 12 reactions 0 assignees View on GitHub
status: validated type: enhancement
Dominant language
Java
Stars
482
Forks
229
Avg merge
1d 7h
Merged PRs (30d)
32

Description

Currently, Data JDBC does not support the JPA @ElementCollection annotation. See docs: https://micronaut-projects.github.io/micronaut-data/latest/guide/#sqlAnnotations

Will be good to add support for this, given @Embeddable is already supported.

Contributor guide

Open the contributing guide

Research direction

Start with the SQL annotations guide linked in the issue and inspect how existing @Embeddable support is implemented. Determine the required behavior for @ElementCollection in Data JDBC, then verify that an element collection can be mapped and persisted consistently with the supported annotation model.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.