diff --git a/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/TestEndpoint.java b/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/TestEndpoint.java index 8643dda0b99cb2..bd3aeb09f2ded3 100644 --- a/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/TestEndpoint.java +++ b/integration-tests/hibernate-orm-panache/src/main/java/io/quarkus/it/panache/TestEndpoint.java @@ -193,6 +193,9 @@ public String testModel() { Assertions.assertThrows(PanacheQueryException.class, () -> Person.update("Person.updateAllNames", Parameters.with("name", "stef2").map())); + Assertions.assertThrows(PanacheQueryException.class, + () -> Person.update("Person.updateAllNames")); + Assertions.assertEquals(1, Person.update("#Person.updateAllNames", Parameters.with("name", "stef3"))); persons = Person.find("#Person.getByName", Parameters.with("name", "stef3")).list(); Assertions.assertEquals(1, persons.size());