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

Records in Jakarta Data by dynamically creating a stand-in class #22762

Closed
njr-11 opened this issue Sep 30, 2022 · 0 comments
Closed

Records in Jakarta Data by dynamically creating a stand-in class #22762

njr-11 opened this issue Sep 30, 2022 · 0 comments
Assignees
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 Sep 30, 2022

User Story:
"As a user of repository-based data access, I would like to use Java records as entities to avoid the boilerplate code that typically needs to be written for entity classes."

Jakarta Persistence (JPA) does not support records, but it could be possible for us to send another class to stand in for the record. Jakarta Persistence does have a standard way by which we can instruct it to create instances of the record rather than the entity class when performing queries. We could do all of this transparently to the user, and the only expected additional cost would be the creation of the extra class when defining the entity.

@njr-11 njr-11 added the Epic Used to track Feature Epics that are following the UFO process label Sep 30, 2022
@nmittles nmittles self-assigned this Sep 30, 2022
njr-11 added a commit to njr-11/open-liberty that referenced this issue May 16, 2023
njr-11 added a commit to njr-11/open-liberty that referenced this issue May 18, 2023
njr-11 added a commit to njr-11/open-liberty that referenced this issue May 18, 2023
…o enable CrudRepository delete methods that accept entity instances
njr-11 added a commit to njr-11/open-liberty that referenced this issue May 23, 2023
njr-11 added a commit to njr-11/open-liberty that referenced this issue May 23, 2023
njr-11 added a commit to njr-11/open-liberty that referenced this issue May 24, 2023
@KyleAure KyleAure self-assigned this May 25, 2023
njr-11 added a commit to njr-11/open-liberty that referenced this issue Jun 3, 2023
njr-11 added a commit to njr-11/open-liberty that referenced this issue Jun 3, 2023
tevans78 pushed a commit to tevans78/open-liberty that referenced this issue Jun 5, 2023
tevans78 pushed a commit to tevans78/open-liberty that referenced this issue Jun 5, 2023
@njr-11 njr-11 self-assigned this Jun 28, 2023
njr-11 added a commit to njr-11/open-liberty that referenced this issue Oct 16, 2023
njr-11 added a commit to njr-11/open-liberty that referenced this issue Aug 1, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Aug 1, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Aug 8, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 13, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 17, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 17, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 17, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 18, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 18, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 18, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 18, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 18, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Nov 21, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Nov 25, 2024
yasmin-aumeeruddy pushed a commit to yasmin-aumeeruddy/open-liberty that referenced this issue Dec 4, 2024
njr-11 added a commit to njr-11/open-liberty that referenced this issue Jan 2, 2025
njr-11 added a commit to njr-11/open-liberty that referenced this issue Jan 3, 2025
…s and give it precedence as spec required behavior
njr-11 added a commit to njr-11/open-liberty that referenced this issue Jan 3, 2025
njr-11 added a commit to njr-11/open-liberty that referenced this issue Jan 10, 2025
njr-11 added a commit to njr-11/open-liberty that referenced this issue Jan 10, 2025
…s and give it precedence as spec required behavior
njr-11 added a commit to njr-11/open-liberty that referenced this issue Jan 10, 2025
@njr-11 njr-11 closed this as completed Jan 23, 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

4 participants