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

Select annotation on repository Find method defines mapping to entity attributes #30903

Open
njr-11 opened this issue Feb 28, 2025 · 0 comments
Labels
Epic Used to track Feature Epics that are following the UFO process story team:Zombie Apocalypse

Comments

@njr-11
Copy link
Contributor

njr-11 commented Feb 28, 2025

User story:
"As a user of Jakarta Data in Open Liberty, I want to specify the subset of entity attributes to return via a Select annotation so that I can return records whose component names do not match the entity attribute names."

Give priority to the repository method's Select annotation if Select is also used on the record component. Method level is more granular and overrides what is specified on the record.

Ensure meaningful errors are raised if the user makes a typo when specifying a name. Should display valid options in the error message.

@njr-11 njr-11 added story team:Zombie Apocalypse Epic Used to track Feature Epics that are following the UFO process labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Used to track Feature Epics that are following the UFO process story team:Zombie Apocalypse
Projects
None yet
Development

No branches or pull requests

1 participant