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 cc02df7 commit 41deadaCopy full SHA for 41deada
hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
@@ -2500,10 +2500,15 @@ public void testIn(SessionFactoryScope scope) {
2500
session.createQuery("select 1 where 1 in :list", Integer.class)
2501
.setParameterList("list",List.of())
2502
.list().size() );
2503
+ assertEquals( 0,
2504
+ session.createQuery( "select e from EntityWithOneToOne e where e.other in (:list)" )
2505
+ .setParameter( "list", null )
2506
+ .list().size() );
2507
}
2508
);
2509
2510
2511
+
2512
@Test
2513
public void testMaxGreatest(SessionFactoryScope scope) {
2514
scope.inTransaction(
0 commit comments