jirm
jirm copied to clipboard
Better Enum Support through @Enumerated
JIRM should automatically convert Enum values to the correct SQL datatype on SQL execution. Whether the ordinal
or name
should be used would be based on the @Enumerated
JPA annotation
For right now you have to do:
.property("pageType").eq(PageType.PUBLIC.name())
Or
.property("pageType").eq(PageType.PUBLIC.ordinal())