文件: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>
本文介绍如何在Resin服务器的配置文件resin.xml中添加SQL Server数据库连接设置,包括数据库驱动、URL、用户名、密码等关键参数。
345

被折叠的 条评论
为什么被折叠?



