Going to need a (correct and simplified) test case that reproduces this. Juan, as pointed out your mapping is just incorrect; you should use @Enumerated. Facundo we have tons of tests that do exactly what you have in your domain model and they work fine; going to need a more complete test from you actually illustrating this. Perhaps you entity's access is PROPERTY and you set the annotation on a field? |