From c44e9e1a7a2a523f1d2174e3c6e50496a90d082c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Wed, 24 Apr 2024 09:16:18 +0200 Subject: [PATCH] Update a few references to deprecated javax.persistence configuration --- .../src/test/resources/META-INF/some-persistence.xml | 2 +- .../src/test/resources/META-INF/some-persistence.xml | 2 +- .../src/main/resources/META-INF/persistence.xml | 2 +- .../src/main/resources/META-INF/persistence.xml | 2 +- integration-tests/jpa/README.adoc | 8 ++++---- .../main/src/main/resources/META-INF/persistence.xml | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/extensions/panache/hibernate-orm-panache-kotlin/deployment/src/test/resources/META-INF/some-persistence.xml b/extensions/panache/hibernate-orm-panache-kotlin/deployment/src/test/resources/META-INF/some-persistence.xml index 9a8b9b174af45..8724cc1b653a1 100644 --- a/extensions/panache/hibernate-orm-panache-kotlin/deployment/src/test/resources/META-INF/some-persistence.xml +++ b/extensions/panache/hibernate-orm-panache-kotlin/deployment/src/test/resources/META-INF/some-persistence.xml @@ -10,7 +10,7 @@ - + diff --git a/extensions/panache/hibernate-orm-panache/deployment/src/test/resources/META-INF/some-persistence.xml b/extensions/panache/hibernate-orm-panache/deployment/src/test/resources/META-INF/some-persistence.xml index 9a8b9b174af45..8724cc1b653a1 100644 --- a/extensions/panache/hibernate-orm-panache/deployment/src/test/resources/META-INF/some-persistence.xml +++ b/extensions/panache/hibernate-orm-panache/deployment/src/test/resources/META-INF/some-persistence.xml @@ -10,7 +10,7 @@ - + diff --git a/integration-tests/jpa-mapping-xml/legacy-library-a/src/main/resources/META-INF/persistence.xml b/integration-tests/jpa-mapping-xml/legacy-library-a/src/main/resources/META-INF/persistence.xml index 0bb292da6bb8a..870897e76a697 100644 --- a/integration-tests/jpa-mapping-xml/legacy-library-a/src/main/resources/META-INF/persistence.xml +++ b/integration-tests/jpa-mapping-xml/legacy-library-a/src/main/resources/META-INF/persistence.xml @@ -8,7 +8,7 @@ - + diff --git a/integration-tests/jpa-mapping-xml/legacy-library-b/src/main/resources/META-INF/persistence.xml b/integration-tests/jpa-mapping-xml/legacy-library-b/src/main/resources/META-INF/persistence.xml index c67574a703136..6711a97e36470 100644 --- a/integration-tests/jpa-mapping-xml/legacy-library-b/src/main/resources/META-INF/persistence.xml +++ b/integration-tests/jpa-mapping-xml/legacy-library-b/src/main/resources/META-INF/persistence.xml @@ -8,7 +8,7 @@ - + diff --git a/integration-tests/jpa/README.adoc b/integration-tests/jpa/README.adoc index 8571c1391a9d8..680bfca2f9306 100644 --- a/integration-tests/jpa/README.adoc +++ b/integration-tests/jpa/README.adoc @@ -37,17 +37,17 @@ I am doing a first pass on the properties and I want to propose the following pr * `hibernate.dialect` * `hibernate.show_sql` (and then `hibernate.format_sql` ?) * should show_sql not do System.out but rather a proper log -* `javax.persistence.schema-generation.database.action` +* `jakarta.persistence.schema-generation.database.action` Anything else? I would force the following: -* `javax.persistence.sharedCache.mode` to yes -* `javax.persistence.sql-load-script-source` set to a default file name +* `jakarta.persistence.sharedCache.mode` to yes +* `jakarta.persistence.sql-load-script-source` set to a default file name Questions do we need: -* `javax.persistence.transactionType` +* `jakarta.persistence.transactionType` diff --git a/integration-tests/main/src/main/resources/META-INF/persistence.xml b/integration-tests/main/src/main/resources/META-INF/persistence.xml index 843270ea08740..69b29b2271209 100644 --- a/integration-tests/main/src/main/resources/META-INF/persistence.xml +++ b/integration-tests/main/src/main/resources/META-INF/persistence.xml @@ -26,9 +26,9 @@ Optimistically create the tables; will cause background errors being logged if they already exist, but is practical to retain existing data across runs (or create as needed) --> - + - +