Skip to content

Commit c9d5cdf

Browse files
committed
* Fix tests.
Relates to #31
1 parent 41290d7 commit c9d5cdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storm-core/src/test/java/st/orm/core/RepositoryPreparedStatementIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,11 +1277,11 @@ public void testWherePredicateSubqueryParameters() {
12771277
SELECT o.id, o.first_name, o.last_name, o.address, c.id, c.name, o.telephone, o.version
12781278
FROM owner o
12791279
LEFT JOIN city c ON o.city_id = c.id
1280-
WHERE (o.id = ?) AND EXISTS (
1280+
WHERE (o.id = ?) AND (EXISTS (
12811281
SELECT o1.id, o1.first_name, o1.last_name, o1.address, o1.city_id, o1.telephone, o1.version
12821282
FROM owner o1
12831283
WHERE o1.id = ?
1284-
) AND 3 = ?""";
1284+
)) AND (3 = ?)""";
12851285
observe(sql -> {
12861286
assertEquals(expectedSql, sql.statement());
12871287
assertTrue(sql.parameters().get(0) instanceof PositionalParameter(int position, Object dbValue)

0 commit comments

Comments
 (0)