Tej, Tarun | e038592 | 2017-09-15 00:52:13 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- ============LICENSE_START======================================================= |
| 3 | PolicyEngineUtils ================================================================================ |
| 4 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 | use this file except in compliance with the License. You may obtain a copy |
| 7 | of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required |
| 8 | by applicable law or agreed to in writing, software distributed under the |
| 9 | License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS |
| 10 | OF ANY KIND, either express or implied. See the License for the specific |
| 11 | language governing permissions and limitations under the License. ============LICENSE_END========================================================= --> |
| 12 | |
| 13 | <persistence version="2.1" |
| 14 | xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 15 | xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> |
| 16 | <persistence-unit name="PolicyEngineUtils" |
| 17 | transaction-type="RESOURCE_LOCAL"> |
| 18 | <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> |
| 19 | <class>org.onap.policy.jpa.BackUpMonitorEntity</class> |
| 20 | <property name="javax.persistence.schema-generation.scripts.action" |
| 21 | value="drop-and-create" /> |
| 22 | <property name="javax.persistence.schema-generation.scripts.create-target" |
| 23 | value="./src/test/resources/META-INF/generatedCreate.ddl" /> |
| 24 | <property name="javax.persistence.schema-generation.scripts.drop-target" |
| 25 | value="./src/test/resources/META-INF/generatedDrop.ddl" /> |
| 26 | <property name="javax.persistence.schema-generation.database.action" |
| 27 | value="drop-and-create" /> |
| 28 | <property name="javax.persistence.schema-generation.create-source" |
| 29 | value="metadata-then-script" /> |
| 30 | <property name="javax.persistence.schema-generation.drop-source" |
| 31 | value="script" /> |
| 32 | <property name="javax.persistence.schema-generation.drop-script-source" |
| 33 | value="META-INF/drop.ddl" /> |
| 34 | </persistence-unit> |
| 35 | </persistence> |