Posted on 2009-07-01 15:51
landor 阅读(640)
评论(0) 编辑 收藏 所属分类:
ibatis
<bean id="dataSource" class="org.logicalcobwebs.proxool.ProxoolDataSource" destroy-method="close">
<property name="driver"><value>net.sourceforge.jtds.jdbc.Driver</value></property>
<property name="driverUrl"><value>jdbc:jtds:sqlserver://server:1433;socketTimeout=20;loginTimeout=10</value></property>
<property name="user"><value>someusername/value></property>
<property name="password"><value>somepassword</value></property>
</bean>