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