Skip to content

Commit 87df2df

Browse files
committed
chore: fix SQL queries with double quoted field names and unbreak integration tests.
Configure H2 to not convert unquoted identifiers to an upper case by default. See for details: - https://www.h2database.com/javadoc/org/h2/engine/DbSettings.html#DATABASE_TO_UPPER - https://stackoverflow.com/questions/10789994/make-h2-treat-quoted-name-and-unquoted-name-as-the-same Should be in 74734a8 commit. Relate to #1326
1 parent c6af7d5 commit 87df2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/application-test.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
spring.profiles: test
22

3-
spring.datasource.url: jdbc:h2:mem:mystamps;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false
3+
spring.datasource.url: jdbc:h2:mem:mystamps;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false;DATABASE_TO_UPPER=false
44
spring.datasource.username: sa
55
spring.datasource.password:
66
spring.datasource.driver-class-name: org.h2.Driver

0 commit comments

Comments
 (0)