NK3C框架(MyBatis、Durid)连接SQL Server

NK3C框架连接SQL Server修改配置如下:
1、添加POM引用
<sqlserver.driver.version>4.0</sqlserver.driver.version>
<!-- sql server driver -->
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<version>${sqlserver.driver.version}</version>
<scope>runtime</scope>
</dependency>
2、修改db.properties配置
desc.dbType=sqlserver
pool.url=jdbc:sqlserver://192.168.1.161:1433;DatabaseName=cati3
pool.validationQuery=
上一篇:解决 E: Could not get lock /var/lib/apt/lists/lock


下一篇:书摘及理解:Servlet与JSP的关系