sqlserver jdbc 支持 xa 数据源
This commit is contained in:
@@ -24,21 +24,43 @@
|
|||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- JDBC device begin -->
|
<!-- JDBC device begin -->
|
||||||
|
<!-- MySQL 5.5、8.0 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>mysql</groupId>
|
<groupId>mysql</groupId>
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- Oracle 11g -->
|
||||||
<dependency>
|
<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>
|
<groupId>com.oracle.ojdbc</groupId>
|
||||||
<artifactId>ojdbc8</artifactId>
|
<artifactId>ojdbc8</artifactId>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.oracle.ojdbc</groupId>
|
||||||
|
<artifactId>orai18n</artifactId>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency> -->
|
||||||
|
<!-- SqlServer 2008 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.sourceforge.jtds</groupId>
|
<groupId>net.sourceforge.jtds</groupId>
|
||||||
<artifactId>jtds</artifactId>
|
<artifactId>jtds</artifactId>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- SqlServer 2012
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.microsoft.sqlserver</groupId>
|
||||||
|
<artifactId>mssql-jdbc</artifactId>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency> -->
|
||||||
|
<!-- PostgreSQL -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ jdbc:
|
|||||||
# password: jeesite
|
# password: jeesite
|
||||||
# testSql: SELECT 1 FROM DUAL
|
# testSql: SELECT 1 FROM DUAL
|
||||||
|
|
||||||
# # Sql Server 数据库配置
|
# # Sql Server 数据库配置(2008)
|
||||||
# type: mssql
|
# type: mssql
|
||||||
# driver: net.sourceforge.jtds.jdbc.Driver
|
# driver: net.sourceforge.jtds.jdbc.Driver
|
||||||
# url: jdbc:jtds:sqlserver://127.0.0.1:1433/jeesite
|
# url: jdbc:jtds:sqlserver://127.0.0.1:1433/jeesite
|
||||||
@@ -60,6 +60,14 @@ jdbc:
|
|||||||
# password: jeesite
|
# password: jeesite
|
||||||
# testSql: SELECT 1
|
# 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 数据库配置
|
# # PostgreSql 数据库配置
|
||||||
# type: postgresql
|
# type: postgresql
|
||||||
# driver: org.postgresql.Driver
|
# driver: org.postgresql.Driver
|
||||||
@@ -444,9 +452,6 @@ shiro:
|
|||||||
#
|
#
|
||||||
# # 共享的SessionId的Cookie名称,保存到跟路径下,第三方应用获取。同一域名下多个项目时需设置共享Cookie的名称。
|
# # 共享的SessionId的Cookie名称,保存到跟路径下,第三方应用获取。同一域名下多个项目时需设置共享Cookie的名称。
|
||||||
# #shareSessionIdCookieName: ${session.sessionIdCookieName}
|
# #shareSessionIdCookieName: ${session.sessionIdCookieName}
|
||||||
#
|
|
||||||
# # 设置接收SessionId请求参数的名称
|
|
||||||
# sessionIdParamName: __sid
|
|
||||||
|
|
||||||
# 系统缓存配置
|
# 系统缓存配置
|
||||||
#j2cache:
|
#j2cache:
|
||||||
|
|||||||
Reference in New Issue
Block a user