Hi,
the <dataSource type="SIMPLE"> uses the iBATIS built-in Connection Pool.
You can use
<dataSource type="DBCP"> for jakarta commons database connection pool
or
<dataSource type="JNDI"> if you have a Container-based data source located
via JNDI
--
kambiz
Jeremy Jardin wrote:
>
> This is the part of my config file I'd like to change :
>
> <transactionManager type="JDBC">
> <dataSource type="SIMPLE">
> <property name="JDBC.Driver" value="${driver}" />
> <property name="JDBC.ConnectionURL" value="${url}" />
> <property name="JDBC.Username" value="${username}" />
> <property name="JDBC.Password" value="${password}" />
> <property name="JDBC.DefaultAutoCommit" value="true" />
> </dataSource>
> </transactionManager>
>
> I don't want to use that datasource, i just want to connect my common pool
> I set
> as the connectionUrl..
>
>
>
>
> Jeremy Jardin wrote:
>>
>> Hi,
>>
>> I'd like toconfigure ibatis with my own connection pool, so I set my pool
>> as the connnectionUrl in the sqlMapConfig.xml file.
>> But, unfortunately, it seems that ibatis still use his own pool ?
>> Can I disable the ibatis pool ?
>>
>>
>> Thx,
>>
>> Jeremy
>>
>
>
--
View this message in context:
http://old.nabble.com/Ibatis-with-my-own-pool-tp26525311p26530882.html
Sent from the iBATIS - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]