Skip to content

Commit a517221

Browse files
committed
HHH-8370 - spacing
1 parent 42b3d70 commit a517221

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/SQLServerDialectCompositeTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void testCompositeQueryWithInPredicate(EntityManagerFactoryScope scope) {
5252
);
5353

5454
var query = sqlStatementInterceptor.getSqlQueries().get( 0 );
55-
assertTrue(query.endsWith( "where exists (select 1 from (values (?,?), (?,?)) as v(id1, id2) where ewci1_0.id1 = v.id1 and ewci1_0.id2 = v.id2)" ));
55+
assertTrue( query.endsWith( "where exists (select 1 from (values (?,?), (?,?)) as v(id1, id2) where ewci1_0.id1 = v.id1 and ewci1_0.id2 = v.id2)" ) );
5656
}
5757

5858
@Test
@@ -72,7 +72,7 @@ public void testCompositeQueryWithNotInPredicate(EntityManagerFactoryScope scope
7272
);
7373

7474
var query = sqlStatementInterceptor.getSqlQueries().get( 0 );
75-
assertTrue(query.endsWith( "where not exists (select 1 from (values (?,?), (?,?)) as v(id1, id2) where ewci1_0.id1 = v.id1 and ewci1_0.id2 = v.id2)" ));
75+
assertTrue( query.endsWith( "where not exists (select 1 from (values (?,?), (?,?)) as v(id1, id2) where ewci1_0.id1 = v.id1 and ewci1_0.id2 = v.id2)" ) );
7676
}
7777

7878
@Test
@@ -85,14 +85,14 @@ public void testCompositeQueryWithMultiplePredicatesIncludingIn(EntityManagerFac
8585
compositeIds.add( new CompositeId( 3,4 ) );
8686

8787
scope.inTransaction( entityManager -> {
88-
entityManager.createQuery("SELECT e FROM EntityWithCompositeId e WHERE e.description = :description AND e.id IN (:ids)")
88+
entityManager.createQuery( "SELECT e FROM EntityWithCompositeId e WHERE e.description = :description AND e.id IN (:ids)" )
8989
.setParameter( "ids", compositeIds )
9090
.setParameter( "description", "test" )
9191
.getResultList();
9292
}
9393
);
9494

9595
var query = sqlStatementInterceptor.getSqlQueries().get( 0 );
96-
assertTrue(query.endsWith( "where ewci1_0.description=? and exists (select 1 from (values (?,?), (?,?)) as v(id1, id2) where ewci1_0.id1 = v.id1 and ewci1_0.id2 = v.id2)" ));
96+
assertTrue( query.endsWith( "where ewci1_0.description=? and exists (select 1 from (values (?,?), (?,?)) as v(id1, id2) where ewci1_0.id1 = v.id1 and ewci1_0.id2 = v.id2)" ) );
9797
}
9898
}

0 commit comments

Comments
 (0)