ARTEMIS-2089 DB2 sending larger message (1MB) crashes the whole server
It declares JDBC journal Blobs for IBM DB2 DBMS matching max-blob-size in order to allow to store data with size > 1 MB ie the default BLOB capacity
This commit is contained in:
parent
4cbc387782
commit
ead9b00757
|
@ -86,6 +86,7 @@ max-blob-size.oracle=4294967296
|
||||||
table-names-case.oracle=upper
|
table-names-case.oracle=upper
|
||||||
|
|
||||||
# DB2 SQL statements
|
# DB2 SQL statements
|
||||||
|
create-journal-table.db2=CREATE TABLE %s(id BIGINT,recordType SMALLINT,compactCount SMALLINT,txId BIGINT,userRecordType SMALLINT,variableSize INTEGER,record BLOB(2G),txDataSize INTEGER,txData BLOB(2G),txCheckNoRecords INTEGER,seq BIGINT NOT NULL, PRIMARY KEY(seq))
|
||||||
max-blob-size.db2=2147483647
|
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))
|
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=?
|
append-to-file.db2=UPDATE %s SET DATA = (DATA || ?) WHERE ID=?
|
||||||
|
|
Loading…
Reference in New Issue