<?xml version="1.0" encoding="Shift_JIS"?>
<!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container//EN"
"http://www.seasar.org/dtd/components.dtd">
<components>
	<component name="tm" class="org.seasar.extension.jta.TransactionManagerImpl"/>
	<!--
	<component name="xads" class="oracle.jdbc.xa.client.OracleXADataSource">
		<property name="URL">"jdbc:oracle:thin:@xxx:1521:xxx"</property>
		<property name="user">"xxx"</property>
		<property name="password">"xxx"</property>
	</component>
	-->
	<component name="xads"
		class="org.seasar.extension.dbcp.impl.XADataSourceImpl">
		<property name="driverClassName">
			"org.hsqldb.jdbcDriver"
		</property>
		<property name="URL">
			"jdbc:hsqldb:file:"
				+ @org.seasar.framework.util.ResourceUtil@getBuildDir(@org.seasar.extension.dbcp.impl.ConnectionPoolImplTest@class).getCanonicalPath()
				+ "/data/demo"
		</property>
		<property name="user">"sa"</property>
		<property name="password">""</property>
	</component>
	<component name="pool" class="org.seasar.extension.dbcp.impl.ConnectionPoolImpl">
		<property name="XADataSource">xads</property>
		<property name="transactionManager">tm</property>
		<property name="timeout">6</property>
		<property name="maxPoolSize">1</property>
		<destroyMethod name="close"/>
	</component>
	<component name="pool2" class="org.seasar.extension.dbcp.impl.ConnectionPoolImpl">
		<property name="XADataSource">xads</property>
		<property name="transactionManager">tm</property>
		<property name="timeout">6</property>
		<property name="maxPoolSize">1</property>
		<destroyMethod name="close"/>
	</component>
	<component name="dummyPool"
		class="org.seasar.extension.dbcp.impl.DummyConnectionPool"/>
	<component name="con" class="org.seasar.extension.dbcp.impl.ConnectionWrapperImpl"
		autoBinding="constructor">
		<arg>xads.XAConnection</arg>
		<arg>xads.XAConnection.connection</arg>
		<arg>dummyPool</arg>
		<arg>null</arg>
	</component>
</components>