From 34cad0af615db1ed4b85b8e4e1b77d0948289eed Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Thu, 1 Aug 2024 13:46:11 +0100 Subject: [PATCH] Fix on persistence.xml after updating hibernate dependencies - fix on side effects from drools-apps fix. Issue-ID: POLICY-4955 Change-Id: Ie2f2083122d2cdb64a60120ffa83f1a2bc961c34 Signed-off-by: adheli.tavares --- integrity-audit/pom.xml | 4 ++-- .../src/main/resources/META-INF/persistence.xml | 14 +++++++------- integrity-monitor/pom.xml | 4 ++-- .../src/main/resources/META-INF/persistence.xml | 12 ++++++------ 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/integrity-audit/pom.xml b/integrity-audit/pom.xml index ed75aa58..f2cd6f0e 100644 --- a/integrity-audit/pom.xml +++ b/integrity-audit/pom.xml @@ -57,8 +57,8 @@ lombok - org.hibernate - hibernate-core-jakarta + org.hibernate.orm + hibernate-core provided diff --git a/integrity-audit/src/main/resources/META-INF/persistence.xml b/integrity-audit/src/main/resources/META-INF/persistence.xml index 63fea7b1..1d72eeba 100644 --- a/integrity-audit/src/main/resources/META-INF/persistence.xml +++ b/integrity-audit/src/main/resources/META-INF/persistence.xml @@ -4,7 +4,7 @@ Integrity Audit ================================================================================ Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - Modifications Copyright (C) 2023 Nordix Foundation. + Modifications Copyright (C) 2023-2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -20,9 +20,9 @@ ============LICENSE_END========================================================= --> - + org.hibernate.jpa.HibernatePersistenceProvider @@ -30,8 +30,8 @@ org.onap.policy.common.ia.jpa.IaTestEntity NONE - - + + @@ -41,7 +41,7 @@ org.onap.policy.common.ia.jpa.IntegrityAuditEntity NONE - + diff --git a/integrity-monitor/pom.xml b/integrity-monitor/pom.xml index e48a2983..442566fb 100644 --- a/integrity-monitor/pom.xml +++ b/integrity-monitor/pom.xml @@ -48,8 +48,8 @@ ${project.version} - org.hibernate - hibernate-core-jakarta + org.hibernate.orm + hibernate-core provided diff --git a/integrity-monitor/src/main/resources/META-INF/persistence.xml b/integrity-monitor/src/main/resources/META-INF/persistence.xml index ecba25cc..6a46c2a2 100644 --- a/integrity-monitor/src/main/resources/META-INF/persistence.xml +++ b/integrity-monitor/src/main/resources/META-INF/persistence.xml @@ -20,11 +20,11 @@ ============LICENSE_END========================================================= --> - + - + org.hibernate.jpa.HibernatePersistenceProvider org.onap.policy.common.im.jpa.ImTestEntity org.onap.policy.common.im.jpa.StateManagementEntity @@ -32,12 +32,12 @@ org.onap.policy.common.im.jpa.ResourceRegistrationEntity NONE - + - + org.hibernate.jpa.HibernatePersistenceProvider org.onap.policy.common.im.jpa.ImTestEntity org.onap.policy.common.im.jpa.StateManagementEntity -- 2.16.6