AggregateReference with custom datatypes can not be converted to simple type #1828
Labels
for: team-attention
An issue we need to discuss as a team to make progress
status: waiting-for-triage
An issue we've not yet triaged
type: bug
A general bug
Given following example with 2 entities: project and user, each having a custom datatype as id. User has a reference to project using
AggregatedReference<ProjectEntity, ProjectId>
. When Upgrading Spring Boot from 3.2.5 to 3.3.1, the application fails to create a user because theAggregatedReference
is not resolved to a simple type (creating a project works).During debugging I see that in Spring Boot 3.3.1
AggregatedReference<ProjectEntity, ProjectId>
is only converted to aProjectId
while in Spring Boot 3.2.5 the resultingProjectId
is further converted toUUID
byMappingRelationalConverter::getPotentiallyConvertedSimpleWrite
UserId
is identical):UserId
are identical):The text was updated successfully, but these errors were encountered: