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/data-source.xml

22 lines
896 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 name="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
<property name="driverClassName" value="org.postgresql.Driver" />
<property name="url" value="jdbc:postgresql:lwb6" />
<property name="username" value="lwb6" />
<property name="password" value="test" />
</bean>
</beans>