apache / apache/grails-core

Can't add annotation to hasMany relationship

Open
#14,439 1 comment 0 reactions 0 assignees View on GitHub
relates-to: grails-data-hibernate5
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

I'm using Hibernate Envers with GORM, and I need to add an (@NotAudited) annotation to hasMany relationships. It seems like it's currently not possible to add annotations to these relationships.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by locating GORM's hasMany relationship handling and the annotation metadata path, then check how Hibernate Envers consumes that metadata; done means a hasMany relationship accepts @NotAudited and Envers excludes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.