diff options
Diffstat (limited to 'models-provider/src/test/resources/META-INF/persistence.xml')
-rw-r--r-- | models-provider/src/test/resources/META-INF/persistence.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/models-provider/src/test/resources/META-INF/persistence.xml b/models-provider/src/test/resources/META-INF/persistence.xml index ffe7cdd61..77d265747 100644 --- a/models-provider/src/test/resources/META-INF/persistence.xml +++ b/models-provider/src/test/resources/META-INF/persistence.xml @@ -21,7 +21,9 @@ ============LICENSE_END========================================================= --> -<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0"> +<persistence version="3.1" 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_1.xsd"> <persistence-unit name="ToscaConceptTest" transaction-type="RESOURCE_LOCAL"> <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> <class>org.onap.policy.models.base.PfConceptKey</class> @@ -57,9 +59,9 @@ <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaTrigger</class> <properties> - <property name="jakarta.persistence.schema-generation.database.action" value="drop-and-create" /> - <property name="hibernate.enable_lazy_load_no_trans" value="true" /> - <property name="hibernate.show_sql" value="false" /> + <property name="jakarta.persistence.schema-generation.database.action" value="drop-and-create"/> + <property name="hibernate.enable_lazy_load_no_trans" value="true"/> + <property name="hibernate.show_sql" value="false"/> </properties> </persistence-unit> </persistence> |