You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 containing children: Map<UUID, Child> where the family_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 ?
The text was updated successfully, but these errors were encountered:
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 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 ?
The text was updated successfully, but these errors were encountered: