Class ScalarTypeEnumStandard


  • public class ScalarTypeEnumStandard
    extends Object
    JPA standard based Enum scalar type.

    Converts between bean Enum types to database string or integer columns.

    The limitation of this class is that it converts the Enum to either the ordinal or string value of the Enum. If you wish to convert the Enum to some other value then you should look at the Ebean specific @EnumMapping.