Closed amundsor closed 2 weeks ago
Has been flagged before: Github Issue
Do you still have this issue in 3.x?
If so, please provide a Minimimal Reproducable Example, preferable as a Github repository. Make sure to include the database, either as an in memory database or if that is not possible using Testcontainers.
I was able to create a reproducer. Will investigate.
I dont know if this has been the case all the way, or if it is just the logging which are stricter. After we upgraded to lastest version of Spring we are getting alot of: "One-to-many relation: ResultSet contains ... multiple times" This comes from RowDocumentResultSetExtractor#79.
log.warn(DUPLICATE_COLUMN_WARNING, columnName, i);
We have a
class Family
containingchildren: Map<UUID, Child>
where thefamily_key
is also a member of the Child-object. There are ofcourse multiple ways to solve this, but from the top of my head I don't think this should create a warning.Perhaps there is a good reason for it to work this way ?