| Currently, the Criteria API LiteralHandlingMode can only be configured programmatically, like this:
Map config = super.getConfig();
config.put(
AvailableSettings.CRITERIA_LITERAL_HANDLING_MODE,
LiteralHandlingMode.INLINE
);
However, that's an issue because we might want to use the String-based short value via the persistence.xml file. |