From 045a89caabb23ab29c716025c518fd7c62763678 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Tue, 17 Nov 2020 21:16:22 +0000 Subject: [PATCH 1/4] Panache TestEndpoint#model1 should not have an unpersisted Dog field --- .../src/main/java/io/quarkus/it/panache/TestEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 19e98d2b6dd6e..d82211a080a4e 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 @@ -1054,7 +1054,7 @@ private void checkMethod(Class klass, String name, Class returnType, Class public String testModel1() { Assertions.assertEquals(0, Person.count()); - Person person = makeSavedPerson(); + Person person = makeSavedPerson(""); SelfDirtinessTracker trackingPerson = (SelfDirtinessTracker) person; String[] dirtyAttributes = trackingPerson.$$_hibernate_getDirtyAttributes(); From 4ace7e98ea2ab18ac3fbdc9cd29e80d1918fdac7 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Wed, 18 Nov 2020 11:16:23 +0000 Subject: [PATCH 2/4] Kotlin/Panache TestEndpoint#model1 should not have an unpersisted Dog field --- .../main/kotlin/io/quarkus/it/panache/kotlin/TestEndpoint.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/hibernate-orm-panache-kotlin/src/main/kotlin/io/quarkus/it/panache/kotlin/TestEndpoint.kt b/integration-tests/hibernate-orm-panache-kotlin/src/main/kotlin/io/quarkus/it/panache/kotlin/TestEndpoint.kt index 85873df6b4d6e..4032f199a1a89 100644 --- a/integration-tests/hibernate-orm-panache-kotlin/src/main/kotlin/io/quarkus/it/panache/kotlin/TestEndpoint.kt +++ b/integration-tests/hibernate-orm-panache-kotlin/src/main/kotlin/io/quarkus/it/panache/kotlin/TestEndpoint.kt @@ -876,7 +876,7 @@ class TestEndpoint { Person.deleteAll() Assertions.assertEquals(0, Person.count()) - val person: Person = makeSavedPerson() + val person: Person = makeSavedPerson("") val trackingPerson = person as SelfDirtinessTracker var dirtyAttributes = trackingPerson.`$$_hibernate_getDirtyAttributes`() From 087728174d7933e19c0f7658d1d87d6fa712c4c6 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Wed, 18 Nov 2020 13:34:34 +0000 Subject: [PATCH 3/4] Panache/Reactive TestEndpoint#model1 should not have an unpersisted Dog field --- .../main/java/io/quarkus/it/panache/reactive/TestEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/TestEndpoint.java b/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/TestEndpoint.java index 22961fa20f0b3..0845080491614 100644 --- a/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/TestEndpoint.java +++ b/integration-tests/hibernate-reactive-panache/src/main/java/io/quarkus/it/panache/reactive/TestEndpoint.java @@ -1365,7 +1365,7 @@ public Uni testModel1() { .flatMap(count -> { Assertions.assertEquals(0, count); - return makeSavedPerson(); + return makeSavedPerson(""); }).flatMap(person -> { SelfDirtinessTracker trackingPerson = (SelfDirtinessTracker) person; From 4f629782ff412f26040cc92c1a4a10c7c1020622 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Tue, 17 Nov 2020 19:45:41 +0000 Subject: [PATCH 4/4] Upgrade to Hibernate ORM 5.4.24.Final --- bom/application/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index 0dc8d6e539d00..14f3580111fdf 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -89,7 +89,7 @@ 3.9 1.14 1.3.4 - 5.4.23.Final + 5.4.24.Final 1.0.0.Alpha11 6.1.6.Final 6.0.0.CR1