opower/jpile — pull request #19 by alilucio (2013-07-31 12:59:08+00:00)
Title: Added support for the @Enumerated annotation. Before toString was being ...

...used for all enum values but this has changed to be consistent with JPA. Only when @Enumerated(EnumType.STRING) is specified will it use Enum.name() and for all other cases Enum.ordinal() is used.