public void testAllowsRegularExpressionInWhereClause() throws Exception {
Dialect dialect = getDialect();
if (dialect.allowsRegularExpressionInWhereClause()) {
assertNotNull(
dialect.generateRegularExpression(
dialect.quoteIdentifier("customer", "fname"),
"(?i).*\\QJeanne\\E.*"));
StringBuilder sb =
new StringBuilder(
"select "
+ dialect.quoteIdentifier("customer", "fname")