But when it cam to a request using Predicates the exception was thrown ...
I only added the @Entity Annotation to the enum because of Morphia itself. I thought it would be needed.
But nevertheless the Exception was caused by the request using the Morphia API (Predicates) and has nothing to do with spring-data itself.
I know that spring-data supports the translation from and to enum, because I wrote the feature-request :D
I also wrote a ticket to the mongo-java-driver-team to support enums and locales, but from my point of view Morphia should be able to translate enums itself - independent from any driver ...
I've used them as simple properties of an entity.
But when it cam to a request using Predicates the exception was thrown ...
I only added the @Entity Annotation to the enum because of Morphia itself. I thought it would be needed.
But nevertheless the Exception was caused by the request using the Morphia API (Predicates) and has nothing to do with spring-data itself.
I know that spring-data supports the translation from and to enum, because I wrote the feature-request :D
I also wrote a ticket to the mongo-java- driver- team to support enums and locales, but from my point of view Morphia should be able to translate enums itself - independent from any driver ...