liamfallon | b694be1 | 2019-03-05 09:35:16 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | Copyright (C) 2019 Nordix Foundation. |
| 5 | ================================================================================ |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | |
| 18 | SPDX-License-Identifier: Apache-2.0 |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
| 22 | <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0"> |
| 23 | <persistence-unit name="DaoTest" transaction-type="RESOURCE_LOCAL"> |
| 24 | <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> |
| 25 | |
| 26 | <class>org.onap.policy.models.dao.converters.CDataConditioner</class> |
| 27 | <class>org.onap.policy.models.dao.converters.Uuid2String</class> |
| 28 | <class>org.onap.policy.models.base.concepts.PfConcepttKey</class> |
| 29 | <class>org.onap.policy.models.dao.DummyConceptEntity</class> |
| 30 | <class>org.onap.policy.models.dao.DummyReferenceEntity</class> |
| 31 | |
| 32 | <properties> |
| 33 | <property name="javax.persistence.jdbc.driver" value="org.h2.Driver" /> |
| 34 | <property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:testdb" /> |
| 35 | <property name="javax.persistence.jdbc.user" value="sa" /> |
| 36 | <property name="javax.persistence.jdbc.password" value="" /> |
| 37 | <property name="eclipselink.ddl-generation" value="drop-and-create-tables" /> |
| 38 | <property name="eclipselink.ddl-generation.output-mode" value="database" /> |
| 39 | <property name="eclipselink.logging.level" value="INFO" /> |
| 40 | </properties> |
| 41 | </persistence-unit> |
| 42 | </persistence> |