diff options
Diffstat (limited to 'packages/apex-pdp-package-full/src')
-rw-r--r-- | packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml b/packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml index 692a925e7..670acb5f0 100644 --- a/packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml +++ b/packages/apex-pdp-package-full/src/main/resources/META-INF/persistence.xml @@ -6,21 +6,22 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - + SPDX-License-Identifier: Apache-2.0 ============LICENSE_END========================================================= --> <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0"> - <persistence-unit name="org.onap.policy.apex.core.model.eclipselink.runtime" transaction-type="RESOURCE_LOCAL"> + <persistence-unit name="org.onap.policy.apex.core.model.eclipselink.runtime" + transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <class>org.onap.policy.apex.core.basicmodel.dao.converters.UUID2String</class> @@ -76,7 +77,8 @@ </properties> </persistence-unit> - <persistence-unit name="org.onap.policy.apex.core.model.eclipselink.test" transaction-type="RESOURCE_LOCAL"> + <persistence-unit name="org.onap.policy.apex.core.model.eclipselink.test" + transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <class>org.onap.policy.apex.core.basicmodel.dao.converters.UUID2String</class> @@ -183,7 +185,8 @@ <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQL94Dialect" /> <property name="hibernate.hbm2ddl.auto" value="update" /> - <property name="hibernate.connection.provider_class" value="org.hibernate.connection.C3P0ConnectionProvider" /> + <property name="hibernate.connection.provider_class" + value="org.hibernate.connection.C3P0ConnectionProvider" /> <property name="hibernate.temp.use_jdbc_metadata_defaults" value="false" /> <property name="hibernate.c3p0.max_size" value="100" /> <property name="hibernate.c3p0.min_size" value="0" /> @@ -244,7 +247,8 @@ <property name="javax.persistence.jdbc.password" value="postgres" /> <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQL94Dialect" /> <property name="hibernate.hbm2ddl.auto" value="create" /> - <property name="hibernate.connection.provider_class" value="org.hibernate.connection.C3P0ConnectionProvider" /> + <property name="hibernate.connection.provider_class" + value="org.hibernate.connection.C3P0ConnectionProvider" /> <property name="hibernate.temp.use_jdbc_metadata_defaults" value="false" /> <property name="hibernate.c3p0.max_size" value="100" /> <property name="hibernate.c3p0.min_size" value="0" /> |