This is an automated email from the ASF dual-hosted git repository.
orudyy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git
The following commit(s) were added to refs/heads/master by this push:
new c114bed QPID-8408: [Broker-J] JDBC store supports MS SQL Server
c114bed is described below
commit c114bed1d648f5c7122e90c11f77dbd14eeffc26
Author: overmeulen <[email protected]>
AuthorDate: Mon Feb 3 15:20:01 2020 +0100
QPID-8408: [Broker-J] JDBC store supports MS SQL Server
This closes #45
---
.../src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java
b/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java
index 31c9dd0..279b040 100644
---
a/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java
+++
b/broker-plugins/jdbc-store/src/main/java/org/apache/qpid/server/store/jdbc/JDBCDetails.java
@@ -72,6 +72,8 @@ public abstract class JDBCDetails
false, true);
private static final JDBCDetails MARIA_DB = new
KnownJDBCDetails("mariadb", "longblob", "", "varbinary(%d)", "bigint",
"timestamp",
false, true);
+ private static final JDBCDetails SQL_SERVER = new
KnownJDBCDetails("sqlserver", "varbinary(max)", "", "varbinary(%d)", "bigint",
"datetime2",
+ false, true);
static
{
@@ -85,6 +87,7 @@ public abstract class JDBCDetails
map.put(DERBY.getVendor(), DERBY);
map.put(MYSQL.getVendor(), MYSQL);
map.put(MARIA_DB.getVendor(), MARIA_DB);
+ map.put(SQL_SERVER.getVendor(), SQL_SERVER);
map.put(FALLBACK.getVendor(), FALLBACK);
}
finally
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]