From 554a53d9867592cd62ea991f2fe06913f7fcb1ff Mon Sep 17 00:00:00 2001 From: doji Date: Sat, 14 Oct 2023 09:09:43 +0900 Subject: [PATCH] jooq renden config --- .../com/mjucow/eatda/common/config/JooqContextConfiguration.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/com/mjucow/eatda/common/config/JooqContextConfiguration.kt b/src/main/kotlin/com/mjucow/eatda/common/config/JooqContextConfiguration.kt index 7096156..1081937 100644 --- a/src/main/kotlin/com/mjucow/eatda/common/config/JooqContextConfiguration.kt +++ b/src/main/kotlin/com/mjucow/eatda/common/config/JooqContextConfiguration.kt @@ -7,6 +7,7 @@ import org.jooq.RecordMapper import org.jooq.RecordMapperProvider import org.jooq.RecordType import org.jooq.SQLDialect +import org.jooq.conf.RenderNameCase import org.jooq.impl.DataSourceConnectionProvider import org.jooq.impl.DefaultConfiguration import org.jooq.impl.DefaultDSLContext @@ -41,6 +42,7 @@ class JooqContextConfiguration( .withExecuteWithOptimisticLocking(true) .withExecuteLogging(true) .withMapConstructorParameterNamesInKotlin(true) + .withRenderNameCase(RenderNameCase.LOWER) jooqConfiguration.set(settings) jooqConfiguration.set(connectionProvider())