Error in saving an entity that has a HashSet field when the @EnableReactiveMongoAuditing annotation is active. #39820
Labels
for: external-project
For an external project and not something we can fix
I have defined a Kotlin class that contains a field such as
Map<Enum, HashSet<Something>>
and I can save it in the database. Now when I use the @EnableReactiveMongoAuditing annotation, I encounter the following error:The classes are defined as follows:
Also, in this link, I have created a project where you can reproduce the error. Also, you can see the correct way of working by removing the
@EnableReactiveMongoAuditing
annotation.This problem arose after upgrading Spring Boot from version 2.5.X to version 3.2.3.
Java version:
The text was updated successfully, but these errors were encountered: