Skip to content

Commit 6af0fb8

Browse files
author
i.kriushenkov
committed
Const quote and trunk -> latest
1 parent df6cbe4 commit 6af0fb8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

jooq-dialect/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<configuration>
132132
<environmentVariables>
133133
<TESTCONTAINERS_REUSE_ENABLE>true</TESTCONTAINERS_REUSE_ENABLE>
134-
<YDB_DOCKER_IMAGE>cr.yandex/yc/yandex-docker-local-ydb:trunk</YDB_DOCKER_IMAGE>
134+
<YDB_DOCKER_IMAGE>cr.yandex/yc/yandex-docker-local-ydb:latest</YDB_DOCKER_IMAGE>
135135
</environmentVariables>
136136
</configuration>
137137
</plugin>

jooq-dialect/src/main/java/tech/ydb/jooq/YdbDslContext.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
import java.sql.Connection;
1515

1616
public class YdbDslContext extends DefaultDSLContext {
17+
18+
public static final String YDB_QUOTE = "`";
19+
1720
public YdbDslContext() {
1821
this(new DefaultConfiguration());
1922
}
@@ -72,6 +75,6 @@ private static Settings addRequiredParameters(Settings settings) {
7275
}
7376

7477
private static VisitListener quoteListener() {
75-
return new CustomQuoteListener("`");
78+
return new CustomQuoteListener(YDB_QUOTE);
7679
}
7780
}

0 commit comments

Comments
 (0)