Fix the security issue.
[aai/esr-server.git] / esr-mgr / src / test / resources / Hibernate.cfg.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4     Copyright 2016 ZTE Corporation.
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 -->
19 <!DOCTYPE hibernate-configuration PUBLIC 
20 "-//Hibernate/Hibernate Configuration DTD 3.0//EN" 
21 "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
22 <hibernate-configuration>
23 <session-factory>
24     <property name="show_sql">true</property>
25     <property name="dialect">org.hibernate.dialect.H2Dialect</property>
26     <property name="hibernate.connection.driver_class">org.h2.Driver</property>
27     <property name="hibernate.connection.url">jdbc:h2:tcp://localhost:18207/./db/extsys</property>
28     <property name="hibernate.connection.username">extsys</property>
29     <property name="hibernate.connection.password">extsys</property>
30     <property name="hbm2ddl">update</property>
31     <property name="current_session_context_class">thread</property>
32     <mapping class="org.onap.aai.esr.entity.db.EmsData"/>
33          <mapping class="org.onap.aai.esr.entity.db.BaseData"/>
34     <mapping class="org.onap.aai.esr.entity.db.SdncData"/>
35     <mapping class="org.onap.aai.esr.entity.db.VimData"/>
36     <mapping class="org.onap.aai.esr.entity.db.VnfmData"/>
37 </session-factory>
38 </hibernate-configuration>