There was an error while loading. Please reload this page.
1 parent 8b535c5 commit 1c6e250Copy full SHA for 1c6e250
1 file changed
hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
@@ -2386,10 +2386,15 @@ public void testIn(SessionFactoryScope scope) {
2386
session.createQuery("select 1 where 1 in :list", Integer.class)
2387
.setParameterList("list",List.of())
2388
.list().size() );
2389
+ assertEquals( 0,
2390
+ session.createQuery( "select e from EntityWithOneToOne e where e.other in (:list)" )
2391
+ .setParameter( "list", null )
2392
+ .list().size() );
2393
}
2394
);
2395
2396
2397
+
2398
@Test
2399
public void testMaxGreatest(SessionFactoryScope scope) {
2400
scope.inTransaction(
0 commit comments