[jOOQ/jOOQ#19401] DefaultOtherBinding may produce bind variable marker despite Settings.statementType being set to STATIC_STATEMENT for some dialects

This commit is contained in:
Lukas Eder 2025-11-20 13:46:37 +01:00
parent fa5103ee43
commit 84e3c09207

View File

@ -1087,7 +1087,7 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
// [#11511] Specifically when in a parser context, we must not
// blindly cast bind variables
else
ctx.render().sql(ctx.variable());
sql(ctx, converted);
// [#1029] Postgres generally doesn't need the casting. Only in the
// above case where the type is OTHER