From 71103a9c3ec882dee07d6a4b1c34a6667c493a3c Mon Sep 17 00:00:00 2001 From: Laird Nelson Date: Mon, 24 Apr 2023 17:02:44 -0700 Subject: [PATCH] Upgrades JPA to 3.1 (#6684) * Upgrades JPA to 3.1 Signed-off-by: Laird Nelson * Squashable commit; interim work Signed-off-by: Laird Nelson --------- Signed-off-by: Laird Nelson --- .../main/resources/META-INF/persistence.xml.mustache | 6 +++--- dependencies/pom.xml | 2 +- .../jpa/src/main/resources/META-INF/persistence.xml | 6 +++--- .../src/main/resources/META-INF/persistence.xml | 6 +++--- .../src/test/resources/META-INF/persistence.xml | 6 +++--- .../integrations/cdi/jpa/PersistenceUnitInfoBean.java | 10 +++++----- .../src/test/resources/META-INF/persistence.xml | 6 +++--- .../appl/src/main/resources/META-INF/persistence.xml | 6 +++--- .../simple/src/test/resources/META-INF/persistence.xml | 6 +++--- .../mp-2/src/main/resources/META-INF/persistence.xml | 6 +++--- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/archetypes/helidon/src/main/archetype/mp/database/files/src/main/resources/META-INF/persistence.xml.mustache b/archetypes/helidon/src/main/archetype/mp/database/files/src/main/resources/META-INF/persistence.xml.mustache index 437cc6fec74..9c15e5d27fc 100644 --- a/archetypes/helidon/src/main/archetype/mp/database/files/src/main/resources/META-INF/persistence.xml.mustache +++ b/archetypes/helidon/src/main/archetype/mp/database/files/src/main/resources/META-INF/persistence.xml.mustache @@ -1,7 +1,7 @@ + xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_1.xsd" + version="3.1"> {{ds-name}} diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 457fd5335ae..34e839f37a8 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -77,7 +77,7 @@ 3.0.0 3.0.0 2.1.1 - 3.0.0 + 3.1.0 2.0.0 3.0.0 2.1.0 diff --git a/examples/integrations/cdi/jpa/src/main/resources/META-INF/persistence.xml b/examples/integrations/cdi/jpa/src/main/resources/META-INF/persistence.xml index a6a09c98da0..02c6ea5587a 100644 --- a/examples/integrations/cdi/jpa/src/main/resources/META-INF/persistence.xml +++ b/examples/integrations/cdi/jpa/src/main/resources/META-INF/persistence.xml @@ -1,7 +1,7 @@