Closed apotapov closed 10 years ago
Well... try test enumerated entity example
Oh! hibernate-redis use Fast-Serialization FST not support jdk 8, I guess try to use JDK 6 or JDK 7
But lambda functions are so sexy!
I'll file a bug for FST to support java 8.
I'd speculate its a classpath/classloader issue. This does not look like a FST error as you can see it is looking for a perfectly valid classname, but cannot load it. NOte that with 1.55 there is a setClassLoader on the FSTConfiguration in case you have to deal with custom classloaders, however this seems more like a setup problem.
Thanks for looking into it. I would prefer not to roll my own classloader for this purpose.
I filed a bug with FST. I will try to get a reproducible test for FST and hopefully we can figure out the issue. I'll keep you posted.
This has nothing to do with Java 8 after all. Looks like this is an issue with Playframework and their classloaders:
playframework/playframework#2847
Apologies for the confusion.
I have the following enum that serves as a field on a hibernate entity:
Entity: