mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
52 lines
2.4 KiB
XML
52 lines
2.4 KiB
XML
<?xml version='1.0' encoding='utf-8'?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
|
|
|
|
<hibernate-configuration>
|
|
<session-factory>
|
|
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
|
|
<property name="hibernate.connection.pool_size">20</property>
|
|
<property name="hibernate.connection.autocommit">false</property>
|
|
|
|
<!-- transactiion isolation level : 1 - read uncommitted, 2 - read committed, 4 - repeatable read, 8 - Serializable -->
|
|
<property name="hibernate.connection.isolation">2</property>
|
|
|
|
<property name="hibernate.order_updates">true</property>
|
|
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
|
|
|
|
<property name="show_sql">false</property>
|
|
<!-- to debug hibernate generated SQL, open following configuration property -->
|
|
<!--
|
|
<property name="show_sql">true</property>
|
|
<property name="hibernate.format_sql">true</property>
|
|
-->
|
|
<!-- Mapping files -->
|
|
<mapping resource="com/cloud/bridge/model/UserCredentials.hbm.xml"/>
|
|
<mapping resource="com/cloud/bridge/model/SHost.hbm.xml"/>
|
|
<mapping resource="com/cloud/bridge/model/MHost.hbm.xml"/>
|
|
<mapping resource="com/cloud/bridge/model/MHostMount.hbm.xml"/>
|
|
<mapping resource="com/cloud/bridge/model/SBucket.hbm.xml"/>
|
|
<mapping resource="com/cloud/bridge/model/SObject.hbm.xml"/>
|
|
<mapping resource="com/cloud/bridge/model/SObjectItem.hbm.xml"/>
|
|
<mapping resource="com/cloud/bridge/model/SMeta.hbm.xml"/>
|
|
<mapping resource="com/cloud/bridge/model/SAcl.hbm.xml"/>
|
|
</session-factory>
|
|
</hibernate-configuration>
|