For Java enum types, I learned that MongoDB has two solutions: serialization and using Jackson’s ObjectMapper. MongoRepository can use the enum data type using any of these methods, or I have to write a custom storage Library?
1> Oliver Drotb..:
Yes, Spring Data MongoDB supports enums. Just use them in your domain model That’s it.