Skip to content

Commit a12cad5

Browse files
committed
fix: query test fix
Signed-off-by: Artemiy Chereshnevvv <[email protected]>
1 parent 66c9da0 commit a12cad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/query/PartTreeJdbcQueryUnitTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ void createQueryForKeysetThreeKeys() throws Exception {
770770
ParametrizedQuery query = jdbcQuery.createQuery((getAccessor(queryMethod, new Object[]{ScrollPosition.of(values, ScrollPosition.Direction.FORWARD)})), returnedType);
771771

772772
QueryAssert.assertThat(query).containsQuotedAliasedColumns(columns)
773-
.contains("WHERE (" + TABLE + ".\"ID\" >= :id AND (" + TABLE + ".\"ID\" > :id1 OR (" + TABLE + ".\"FIRST_NAME\" >= :first_name AND (" + TABLE + ".\"FIRST_NAME\" > :first_name1 OR (" + TABLE + ".\"AGE\" > :age)")
773+
.contains("WHERE (" + TABLE + ".\"ID\" >= :id AND (" + TABLE + ".\"ID\" > :id1 OR (" + TABLE + ".\"FIRST_NAME\" >= :first_name AND (" + TABLE + ".\"FIRST_NAME\" > :first_name3 OR (" + TABLE + ".\"AGE\" > :age)")
774774
.hasBindValue("id", 1L)
775775
.hasBindValue("first_name", "John")
776776
.hasBindValue("age", 18);

0 commit comments

Comments
 (0)