Closed
Description
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 ?