JEECG框架切换sqlsserver数据库配置
1.添加SQL server驱动,修改pom.xml
<!-- sqlserver--><dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc4</artifactId>
<version>4.0</version>
<scope>runtime</scope></dependency>
2.修改数据库连接
修改druid配置validationQuery: SELECT 1filters: stat,slf4jdriver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriverurl: jdbc:sqlserver://192XXXX;SelectMethod=cursor;
DatabaseName=jeecg-boot
username: XX
password: XX