Skip to content

GH-2303: Support suffix attribute for @Embedded annotations - #2323

Open
sygkanrt30 wants to merge 1 commit into
spring-projects:mainfrom
sygkanrt30:feature/GH-2303-embedded-suffix
Open

GH-2303: Support suffix attribute for @Embedded annotations#2323
sygkanrt30 wants to merge 1 commit into
spring-projects:mainfrom
sygkanrt30:feature/GH-2303-embedded-suffix

Conversation

@sygkanrt30

Copy link
Copy Markdown

Introduce the 'suffix' attribute within the @Embedded annotation and its associated shortcuts (@Embedded.Nullable, @Embedded.Empty) to mirror the existing prefix functionality. Update RelationalPersistentProperty, BasicRelationalPersistentProperty, and EmbeddedContext to propagate and accumulate column name suffixes recursively during embeddable nesting. Update EmbeddedRelationalPersistentProperty to transform the final database column identifier with the computed suffix chain.

…tions

Introduce the 'suffix' attribute within the @Embedded annotation and its
associated shortcuts (@Embedded.Nullable, @Embedded.Empty) to mirror the
existing prefix functionality. Update RelationalPersistentProperty,
BasicRelationalPersistentProperty, and EmbeddedContext to propagate and
accumulate column name suffixes recursively during embeddable nesting.
Update EmbeddedRelationalPersistentProperty to transform the final database
column identifier with the computed suffix chain.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 28, 2026
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants