博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
spring mvc+mybatis+sql server简单配置
阅读量:4702 次
发布时间:2019-06-09

本文共 2094 字,大约阅读时间需要 6 分钟。

context.xml配置文件

classpath:proxool.properties
classpath:security.properties
classpath:systemParam.properties
classpath:mapper/*.xml

proxool.properties配置文件

#SQLServerproxool.alias=mainDBproxool.dbModel=SQLServerproxool.driver=net.sourceforge.jtds.jdbc.Driverproxool.url=jdbc:jtds:sqlserver://193.160.17.251:1433;databasename=tempdbproxool.user=saproxool.password=fnst1234proxool.trace=trueproxool.prototypeCount=3proxool.maximumConnectionCount=100proxool.minimumConnectionCount=10proxool.simultaneousBuildThrottle=80proxool.houseKeepingTestSql=select current_date

驱动(mavem):

net.sourceforge.jtds
jtds
1.3.1

一开始时使用微软官方的驱动sqljdbc4(com.microsoft.sqlserver),但是一直报找不到合适的驱动,最后就改用jtds开源的驱动替代。

转载于:https://www.cnblogs.com/maxiaofang/p/4800431.html

你可能感兴趣的文章
Linux 命令学习
查看>>
设计模式——"simple Factory"
查看>>
Swift学习笔记-ARC
查看>>
bzoj 4195: [Noi2015]程序自动分析【并查集】
查看>>
洛谷 P4704 太极剑【贪心】
查看>>
springboot(七) 常见错误
查看>>
Java代理模式汇总
查看>>
闭包和装饰器
查看>>
多台web服务器共享session的方法
查看>>
Geometry.h中的方法
查看>>
计算机网络(5)-----ICMP协议和PING程序
查看>>
游戏运营的定位
查看>>
$.ajax()方法详解
查看>>
2019年寒假作业2
查看>>
MySQL配置
查看>>
个人进度(18)
查看>>
爬虫编写
查看>>
1521 一维战舰
查看>>
bootstrap-switch:记一次很坑的问题(连续相同状态的多行数据只有第一个显示按钮,其他行没有开关初始化)...
查看>>
Spring Boot 2.0 入门指南
查看>>