mirror of
https://github.com/ctripcorp/zeus.git
synced 2024-11-15 12:17:10 +08:00
18 lines
727 B
XML
18 lines
727 B
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<data-sources>
|
||
|
<data-source id="zeus">
|
||
|
<maximum-pool-size>3</maximum-pool-size>
|
||
|
<connection-timeout>1s</connection-timeout>
|
||
|
<idle-timeout>1m</idle-timeout>
|
||
|
<statement-cache-size>1000</statement-cache-size>
|
||
|
<properties>
|
||
|
<driver>com.mysql.jdbc.Driver</driver>
|
||
|
<url><![CDATA[jdbc:hsqldb:mem:embeddedDataSource]]></url>
|
||
|
<user>sa</user>
|
||
|
<password>~{e4d4da51d8c450d0d1c03948b6670}</password>
|
||
|
<connectionProperties>
|
||
|
<![CDATA[useUnicode=true&characterEncoding=UTF-8&autoReconnect=true]]></connectionProperties>
|
||
|
</properties>
|
||
|
</data-source>
|
||
|
</data-sources>
|