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

BasicRelationalConverter.writeValue(…) assumes eager entity conversion [DATAJDBC-476] #703

Closed
spring-projects-issues opened this issue Jan 23, 2020 · 1 comment
Assignees
Labels
status: superseded An issue that has been superseded by another type: bug A general bug

Comments

@spring-projects-issues
Copy link

Mark Paluch opened DATAJDBC-476 and commented

Calling writeValue(…) attempts first to write an entity through its identifier. Only if no entity information was found, the write value conversion falls back to simple types.

In other store modules (such as MongoDB), write value conversion attempts a simple value/simple conversion approach first and then falls back to entity conversion.

Eager entity conversion comes with undesired effects such as if a PersistentEntity gets created for a simple type, the conversion treats the simple type as an entity


Reference URL: spring-projects/spring-data-r2dbc#283

Issue Links:

@mp911de
Copy link
Member

mp911de commented Sep 13, 2023

This was addressed via #1593

@mp911de mp911de closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2023
@mp911de mp911de added status: superseded An issue that has been superseded by another and removed in: core Issues in core support labels Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: superseded An issue that has been superseded by another type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants