jdbc连接sqlserver2005数据库的设置

  sqlserver2005数据库链接
  上微软网站下载sqlserver2005 jdbc Driver 包
  
  1、将Microsoft SQL Server 2005 JDBC Driver\sqljdbc_1.2\chs\sqljdbc.jar包 copy到发布系统 的 web-inf\lib目录中
  2、将Microsoft SQL Server 2005 JDBC Driver\sqljdbc_1.2\chs\auth\x86\sqljdbc_auth.dll 文件copy到 windows\system32目录
  
  web-inf\fcconfig.xml 文件中的连接字符串如下设置
    <ds name="fhjtest" dbType="sqlserver"
   type="jdbc" jdbcDriver="com.microsoft.sqlserver.jdbc.SQLServerDriver" jdbcUrl="jdbc:sqlserver://localhost:1433;databaseName=eformtest;integratedSecurity=true;" user="sa" password="small" />  
 注意:
 jdbcDriver="com.microsoft.sqlserver.jdbc.SQLServerDriver"
 jdbcUrl="jdbc:sqlserver://localhost:1433;databaseName=eformtest;integratedSecurity=true;"
 与sqlserver2000的写法稍有不同
原文地址:https://www.cnblogs.com/webreport/p/1637849.html