Description
Currently, it is not possible to use custom criterions with prepared statement replacements.
This should be made possible by the following methods in criteria.Criteria:
andCustom(String query, Object[] preparedStatementReplacements)
orCustom(String query, Object[] preparedStatementReplacements)
whereCustom(String query, Object[] preparedStatementReplacements)