[jOOQ/jOOQ#14653] Properly quote replacement

This commit is contained in:
Lukas Eder 2023-02-16 19:44:13 +01:00
parent 5f20e63ed6
commit cf0f392cbb

View File

@ -48,6 +48,7 @@ import static java.time.temporal.ChronoField.SECOND_OF_MINUTE;
import static java.time.temporal.ChronoField.YEAR;
import static java.util.Arrays.asList;
import static java.util.function.Function.identity;
import static java.util.regex.Matcher.quoteReplacement;
import static org.jooq.ContextConverter.scoped;
import static org.jooq.Geography.geography;
import static org.jooq.Geometry.geometry;
@ -5535,7 +5536,6 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
static final String patchSnowflakeJSON(Scope ctx, String json) {
@ -5550,6 +5550,13 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
return json;
}
}