zoukankan      html  css  js  c++  java
  • 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的写法稍有不同
  • 相关阅读:
    状压DP之排列perm
    CodeForces 578F Mirror Box
    Berlekamp-Massey算法
    图解git操作
    yapi安装
    springcloud gateway
    springcloud alibaba
    反射和内置方法
    绑定方法与非绑定方法
    多态性和鸭子类型
  • 原文地址:https://www.cnblogs.com/webreport/p/1637849.html
Copyright © 2011-2022 走看看