AT&T 1712 and 1802 release code
[so.git] / mso-api-handlers / mso-requests-db / src / main / resources / hibernate-requests-core-mysql.cfg.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ECOMP MSO
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 <!DOCTYPE hibernate-configuration PUBLIC
23                 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
24                 "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
25 <hibernate-configuration>
26     <session-factory>
27         <property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>
28         <property name="hibernate.show_sql">false</property>
29         <property name="hibernate.format_sql">true</property>
30         <property name="connection.datasource">java:jboss/datasources/mso-requests</property>
31                 
32 <!--            <property name="hibernate.hbm2ddl.auto">create</property> -->
33
34         <mapping resource="InfraActiveRequests.hbm.xml"></mapping>
35         <mapping resource="OperationalEnvServiceModelStatus.hbm.xml"></mapping>
36         <mapping resource="OperationalEnvDistributionStatus.hbm.xml"></mapping>
37         <mapping resource="OperationStatus.hbm.xml"></mapping>
38         <mapping resource="ResourceOperationStatus.hbm.xml"></mapping>
39         <mapping resource="SiteStatus.hbm.xml"></mapping>
40         <mapping resource="WatchdogDistributionStatus.hbm.xml"></mapping>
41         <mapping resource="WatchdogComponentDistributionStatus.hbm.xml"></mapping>
42         <mapping resource="WatchdogServiceModVerIdLookup.hbm.xml"></mapping>
43     </session-factory>
44 </hibernate-configuration>