ARTEMIS-1010 Uppercase table name for Oracle
This commit is contained in:
parent
61e10fe65a
commit
f3b83831e0
|
@ -21,11 +21,6 @@ import org.apache.activemq.artemis.jdbc.store.sql.SQLProvider;
|
|||
|
||||
public class Oracle12CSQLProvider extends GenericSQLProvider {
|
||||
|
||||
/**
|
||||
create-file-table.oracle=CREATE TABLE %s(ID NUMBER(19) GENERATED BY DEFAULT ON NULL AS IDENTITY, FILENAME VARCHAR(255), EXTENSION VARCHAR(10), DATA BLOB, PRIMARY KEY(ID))
|
||||
create-journal-table.oracle=CREATE TABLE %s(id NUMBER(19) GENERATED BY DEFAULT ON NULL AS IDENTITY,recordType NUMBER(5),compactCount NUMBER(5),txId NUMBER(19),userRecordType NUMBER(5),variableSize NUMBER(10),record BLOB,txDataSize NUMBER(10),txData BLOB,txCheckNoRecords NUMBER(10),seq NUMBER(19))
|
||||
max-blob-size.oracle=4294967296 **/
|
||||
|
||||
private final String createFileTableSQL = "CREATE TABLE " + tableName + " (ID NUMBER(19) GENERATED BY DEFAULT ON NULL AS IDENTITY, FILENAME VARCHAR(255), EXTENSION VARCHAR(10), DATA BLOB, PRIMARY KEY(ID))";
|
||||
|
||||
private final String createJournalTableSQL = "CREATE TABLE " + tableName + " (id NUMBER(19) GENERATED BY DEFAULT ON NULL AS IDENTITY,recordType NUMBER(5),compactCount NUMBER(5),txId NUMBER(19),userRecordType NUMBER(5),variableSize NUMBER(10),record BLOB,txDataSize NUMBER(10),txData BLOB,txCheckNoRecords NUMBER(10),seq NUMBER(19))";
|
||||
|
@ -33,7 +28,7 @@ public class Oracle12CSQLProvider extends GenericSQLProvider {
|
|||
private static final long MAX_BLOB_SIZE = 4294967296L; //4GB
|
||||
|
||||
protected Oracle12CSQLProvider(String tableName) {
|
||||
super(tableName);
|
||||
super(tableName.toUpperCase());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue