ouzhoudijie 发表于 2017-2-20 10:19:54

Resin 4.0 连接池配置

  文件:D:\resin-pro-4.0.23\conf\resin.xml
  在第83行:(</resin:if>后面)添加内容:

<database>
<jndi-name>jdbc/eBuilder</jndi-name>
<driver type="com.microsoft.sqlserver.jdbc.SQLServerXADataSource">
<url>jdbc:sqlserver://localhost:1433;database=databaseName;integratedSecurity=false;</url>
<user>sa</user>
<password>sa</password>
</driver>
<prepared-statement-cache-size>8</prepared-statement-cache-size>
<max-connections>10</max-connections>
<max-idle-time>20s</max-idle-time>
</database>
页: [1]
查看完整版本: Resin 4.0 连接池配置