AT&T 1712 and 1802 release code
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / META-INF / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   ============LICENSE_START=======================================================\r
4   ECOMP MSO\r
5   ================================================================================\r
6   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
7   ================================================================================\r
8   Licensed under the Apache License, Version 2.0 (the "License");\r
9   you may not use this file except in compliance with the License.\r
10   You may obtain a copy of the License at\r
11   \r
12        http://www.apache.org/licenses/LICENSE-2.0\r
13   \r
14   Unless required by applicable law or agreed to in writing, software\r
15   distributed under the License is distributed on an "AS IS" BASIS,\r
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17   See the License for the specific language governing permissions and\r
18   limitations under the License.\r
19   ============LICENSE_END=========================================================\r
20   -->\r
21 \r
22 <persistence version="2.0"\r
23   xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
24   xsi:schemaLocation="\r
25         http://java.sun.com/xml/ns/persistence\r
26         http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">\r
27 \r
28   <persistence-unit name="default">\r
29     <jta-data-source>java:jboss/datasources/ProcessEngine</jta-data-source>\r
30     <properties>\r
31       <!-- Properties for Hibernate -->\r
32       <property name="hibernate.hbm2ddl.auto" value="create-drop" />\r
33       <property name="hibernate.show_sql" value="true" />\r
34     </properties>\r
35   </persistence-unit>\r
36 \r
37 </persistence>\r