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的写法稍有不同

相关文章:

  • 2022-01-29
  • 2021-05-15
  • 2021-10-19
  • 2021-09-07
  • 2021-10-02
  • 2021-11-19
  • 2021-06-10
猜你喜欢
  • 2022-01-04
  • 2021-12-01
  • 2021-05-16
  • 2022-02-14
  • 2022-12-23
  • 2021-07-08
相关资源
相似解决方案