sqlserver jdbc 支持 xa 数据源

This commit is contained in:
thinkgem
2020-04-30 20:44:01 +08:00
parent 21ce6cafa4
commit c29dc43193
2 changed files with 31 additions and 4 deletions

View File

@@ -24,21 +24,43 @@
<dependencies>
<!-- JDBC device begin -->
<!-- MySQL 5.5、8.0 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Oracle 11g -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
<scope>runtime</scope>
</dependency>
<!-- Oracle 12c -->
<!-- <dependency>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc8</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>orai18n</artifactId>
<scope>runtime</scope>
</dependency> -->
<!-- SqlServer 2008 -->
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<scope>runtime</scope>
</dependency>
<!-- SqlServer 2012
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<scope>runtime</scope>
</dependency> -->
<!-- PostgreSQL -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>

View File

@@ -52,7 +52,7 @@ jdbc:
# password: jeesite
# testSql: SELECT 1 FROM DUAL
# # Sql Server 数据库配置
# # Sql Server 数据库配置2008
# type: mssql
# driver: net.sourceforge.jtds.jdbc.Driver
# url: jdbc:jtds:sqlserver://127.0.0.1:1433/jeesite
@@ -60,6 +60,14 @@ jdbc:
# password: jeesite
# testSql: SELECT 1
# # Sql Server 数据库配置2012
# type: mssql2012
# driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
# url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=jeesite
# username: jeesite
# password: jeesite
# testSql: SELECT 1
# # PostgreSql 数据库配置
# type: postgresql
# driver: org.postgresql.Driver
@@ -444,9 +452,6 @@ shiro:
#
# # 共享的SessionId的Cookie名称保存到跟路径下第三方应用获取。同一域名下多个项目时需设置共享Cookie的名称。
# #shareSessionIdCookieName: ${session.sessionIdCookieName}
#
# # 设置接收SessionId请求参数的名称
# sessionIdParamName: __sid
# 系统缓存配置
#j2cache: