[jOOQ/jOOQ#18269] Derby cannot emulate CONTAINS, STARTS_WITH, ENDS_WITH using LIKE

This commit is contained in:
Lukas Eder 2025-03-28 10:02:58 +01:00
parent ed3f0a4e1d
commit 3cb4ac3afa
3 changed files with 18 additions and 22 deletions

View File

@ -117,7 +117,6 @@ implements
case CLICKHOUSE:
case CUBRID:
case DERBY:
case FIREBIRD:
case H2:
case HSQLDB:
@ -130,9 +129,8 @@ implements
case DERBY:
return false;
default:
return true;
@ -180,7 +178,6 @@ implements
case CLICKHOUSE:
case CUBRID:
case DERBY:
case FIREBIRD:
case H2:
case HSQLDB:
@ -195,11 +192,10 @@ implements
case DERBY: {
acceptPosition(ctx);
break;
}
default:
ctx.visit(function(N_CONTAINS, BOOLEAN, value, content));

View File

@ -112,7 +112,6 @@ implements
case CUBRID:
case DERBY:
case FIREBIRD:
case H2:
case HSQLDB:
@ -127,7 +126,8 @@ implements
case DERBY:
return false;
@ -172,7 +172,6 @@ implements
case CUBRID:
case DERBY:
case FIREBIRD:
case H2:
case HSQLDB:
@ -189,9 +188,10 @@ implements
case DERBY: {
acceptPosition(ctx);
break;
}

View File

@ -112,7 +112,6 @@ implements
case CUBRID:
case DERBY:
case FIREBIRD:
case H2:
case HSQLDB:
@ -126,7 +125,8 @@ implements
case DERBY:
return false;
@ -172,7 +172,6 @@ implements
case CUBRID:
case DERBY:
case FIREBIRD:
case H2:
case HSQLDB:
@ -188,9 +187,10 @@ implements
case DERBY: {
acceptPosition(ctx);
break;
}