This repository has been archived on 2024-07-18. You can view files and clone it, but cannot push or open issues or pull requests.
lwb6/legacyworlds-server/legacyworlds-server-main/hibernate.xml

26 lines
991 B
XML
Raw Normal View History

2018-10-23 09:38:02 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!-- Legacy Worlds Beta 6 - Default data source configuration -->
<!--
This file is provided as an example on how to configure the game
server's data sources. It configures a memory-based HSQL database,
initialising its schemas and structure.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id="hibernateProperties"
class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="properties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.HSQLDialect</prop>
<prop key="hibernate.jdbc.batch_size">0</prop>
<prop key="hibernate.show_sql">true</prop>
<prop key="hibernate.format_sql">true</prop><!-- -->
</props>
</property>
</bean>
</beans>