Package io.ebeaninternal.server.type
Class ScalarTypeEnumStandard
- java.lang.Object
-
- io.ebeaninternal.server.type.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScalarTypeEnumStandard.EnumBase
static class
ScalarTypeEnumStandard.OrdinalEnum
static class
ScalarTypeEnumStandard.StringEnum
-
Constructor Summary
Constructors Constructor Description ScalarTypeEnumStandard()
-
-
-
Constructor Detail
-
ScalarTypeEnumStandard
public ScalarTypeEnumStandard()
-
-