aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2023-08-30 14:57:10 +0100
committerFrancescoFioraEst <francesco.fiora@est.tech>2023-09-01 13:36:40 +0100
commitb2d624d4655fa4b4e0cebbf7e41dc96b38fa0df5 (patch)
treeb978965fb8469ae9499d1e3d6d2e18c53aa71a37 /controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml
parentd7d54fef032a2ba3118232506a7ed37f24eb4131 (diff)
Upgrade Java 17 in policy-drools-apps
Issue-ID: POLICY-4816 Change-Id: I456cacfd700fd4613e2b752d9766788858e0c67b Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml')
-rw-r--r--controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml b/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml
index 115ec51ae..74a2166e9 100644
--- a/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml
+++ b/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml
@@ -19,13 +19,16 @@
limitations under the License.
============LICENSE_END=========================================================
-->
-<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
+<persistence xmlns="https://jakarta.ee/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd"
+ version="3.0">
<persistence-unit name="OperationsHistoryPU" transaction-type="RESOURCE_LOCAL">
<class>org.onap.policy.guard.OperationsHistory</class>
<properties>
- <property name="javax.persistence.schema-generation.database.action" value="create" />
+ <property name="jakarta.persistence.schema-generation.database.action" value="create" />
<property name="hibernate.dialect" value="org.hibernate.dialect.MariaDBDialect" />
<property name="hibernate.show_sql" value="false" />
</properties>