appoxy/simplejpa — Issue #15: @Enumerated doesn't work on fields
Author: internetstaff
Created: 2011-12-04 03:15:21+00:00
State: open

I can't claim to be an expert on the JPA spec, but I've at least seen examples implying that @Enumerated(EnumType.STRING) should work on the field level in addition to the getter. SimpleJPA only works on the getter. Don't get me wrong, I'm glad there's a fix to my pain, but shouldn't this annotation also work at the field level?

Thanks - this is an excellent tool you've developed!