[jOOQ/jOOQ#13489] ArrayIndexOutOfBoundsException when rendering PostgreSQL plain SQL template containing ?@
This commit is contained in:
parent
15fc42b979
commit
b8acfd658d
@ -2992,7 +2992,10 @@ final class Tools {
|
||||
for (int j = i; i - j <= candidate.length; i++)
|
||||
render.sql(sqlChars[i]);
|
||||
|
||||
render.sql(sqlChars[i]);
|
||||
// [#13489] The operator could be the last thing in the template
|
||||
if (i < sqlChars.length)
|
||||
render.sql(sqlChars[i]);
|
||||
|
||||
continue characterLoop;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user