Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Add missing hints to support maintaining order in an element collection#1476

Merged
sdeleuze merged 1 commit intospring-attic:mainfrom
christophstrobl:issue/1473
Feb 1, 2022
Merged

Add missing hints to support maintaining order in an element collection#1476
sdeleuze merged 1 commit intospring-attic:mainfrom
christophstrobl:issue/1473

Conversation

@christophstrobl
Copy link
Contributor

Provide required hints to support maintaining order in element collection jpa/hibernate.

@OrderBy
@ElementCollection
private List<String> phoneNumbers;

To avoid static hints in future versions we could consider moving the hints into JpaConfigurationProcessor only registering them when a trigger annotation is used within the domain model.

Resolves: #1473

@sdeleuze sdeleuze merged commit 8ddb376 into spring-attic:main Feb 1, 2022
@sdeleuze
Copy link
Contributor

sdeleuze commented Feb 1, 2022

Thanks, should probably be moved to the native configuration repository once available.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

JPA : antlr error with @ElementCollection @OrderBy

2 participants