We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7585aaa commit 4b9c8ddCopy full SHA for 4b9c8dd
hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
@@ -2504,10 +2504,15 @@ public void testIn(SessionFactoryScope scope) {
2504
session.createQuery("select 1 where 1 in :list", Integer.class)
2505
.setParameterList("list",List.of())
2506
.list().size() );
2507
+ assertEquals( 0,
2508
+ session.createQuery( "select e from EntityWithOneToOne e where e.other in (:list)" )
2509
+ .setParameter( "list", null )
2510
+ .list().size() );
2511
}
2512
);
2513
2514
2515
+
2516
@Test
2517
public void testMaxGreatest(SessionFactoryScope scope) {
2518
scope.inTransaction(
0 commit comments