You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2018/07/12 13:26:55 UTC

[1/2] activemq-artemis git commit: ARTEMIS-1979 Table names with DB2 should be upper-cases

Repository: activemq-artemis
Updated Branches:
  refs/heads/master 7d7daa1ff -> f126980a3


ARTEMIS-1979 Table names with DB2 should be upper-cases

DB2 JDBC driver fail to retrieve metadata information
if table names are lower-cases: similarly to Oracle, better
force any table name to be upper-cases to avoid broker being
unable to restart when lower-cases table names are used


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/79ff3432
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/79ff3432
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/79ff3432

Branch: refs/heads/master
Commit: 79ff3432d599ec4cd10f6613bdb2beb428aac960
Parents: 7d7daa1
Author: Francesco Nigro <ni...@gmail.com>
Authored: Thu Jul 12 14:48:39 2018 +0200
Committer: Francesco Nigro <ni...@gmail.com>
Committed: Thu Jul 12 14:48:39 2018 +0200

----------------------------------------------------------------------
 artemis-jdbc-store/src/main/resources/journal-sql.properties | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/79ff3432/artemis-jdbc-store/src/main/resources/journal-sql.properties
----------------------------------------------------------------------
diff --git a/artemis-jdbc-store/src/main/resources/journal-sql.properties b/artemis-jdbc-store/src/main/resources/journal-sql.properties
index 86e6a3d..3d76d5d 100644
--- a/artemis-jdbc-store/src/main/resources/journal-sql.properties
+++ b/artemis-jdbc-store/src/main/resources/journal-sql.properties
@@ -88,4 +88,5 @@ table-names-case.oracle=upper
 # DB2 SQL statements
 max-blob-size.db2=2147483647
 create-file-table.db2=CREATE TABLE %s (ID BIGINT GENERATED ALWAYS AS IDENTITY (START WITH 1 INCREMENT BY 1), FILENAME VARCHAR(255), EXTENSION VARCHAR(10), DATA BLOB(2G), PRIMARY KEY(ID))
-append-to-file.db2=UPDATE %s SET DATA = (DATA || ?) WHERE ID=?
\ No newline at end of file
+append-to-file.db2=UPDATE %s SET DATA = (DATA || ?) WHERE ID=?
+table-names-case.db2=upper
\ No newline at end of file


[2/2] activemq-artemis git commit: This closes #2180

Posted by cl...@apache.org.
This closes #2180


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/f126980a
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/f126980a
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/f126980a

Branch: refs/heads/master
Commit: f126980a301bdc4c27589c4676ae189596b656a0
Parents: 7d7daa1 79ff343
Author: Clebert Suconic <cl...@apache.org>
Authored: Thu Jul 12 09:25:56 2018 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Thu Jul 12 09:25:56 2018 -0400

----------------------------------------------------------------------
 artemis-jdbc-store/src/main/resources/journal-sql.properties | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------