Skip to content

@Enumerated doesn't work on fields #15

Description

@internetstaff

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions