Skip to content

Issue 113 - #116

Merged
lpandzic merged 4 commits into
masterfrom
issue-113
Jan 8, 2026
Merged

Issue 113#116
lpandzic merged 4 commits into
masterfrom
issue-113

Conversation

@lpandzic

@lpandzic lpandzic commented Jan 8, 2026

Copy link
Copy Markdown
Member

Fixes #113

lpandzic and others added 4 commits January 8, 2026 11:23
Add support for Spring Data JDBC @Embedded annotation prefix attribute
to handle multiple embedded fields with different prefixes. Previously,
when an entity had multiple embedded fields (e.g., player1_ and player2_),
the annotation processor generated duplicate field names causing conflicts.

Changes:
- Modified CustomExtendedTypeFactory to extract and apply prefixes when
  flattening embedded properties
- Updated CustomMetaDataSerializer to generate prefixed column names
- Enhanced QuerydslExpressionFactory to handle prefix-aware constructor
  expression building for embedded types at runtime
- Added comprehensive tests for annotation processor and runtime behavior

Fixes #113

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@lpandzic
lpandzic merged commit 7f50818 into master Jan 8, 2026
4 checks passed
@lpandzic
lpandzic deleted the issue-113 branch January 8, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spring Data JDBC @Embeded prefix not supported

1 participant