mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378025 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
911177eb6c
commit
11d0df6657
|
@ -43,6 +43,7 @@ public class AxionJDBCAdapter extends StreamJDBCAdapter {
|
|||
+", PRIMARY KEY ( ID ) )",
|
||||
"CREATE INDEX "+getTablePrefix()+messageTableName+"_MIDX ON "+getTablePrefix()+messageTableName+" (MSGID_PROD,MSGID_SEQ)",
|
||||
"CREATE INDEX "+getTablePrefix()+messageTableName+"_CIDX ON "+getTablePrefix()+messageTableName+" (CONTAINER)",
|
||||
"CREATE INDEX "+getFullMessageTableName()+"_EIDX ON "+getFullMessageTableName()+" (EXPIRATION)",
|
||||
"CREATE TABLE "+getTablePrefix()+durableSubAcksTableName+"("
|
||||
+"CONTAINER "+containerNameDataType+" NOT NULL"
|
||||
+", CLIENT_ID "+stringIdDataType+" NOT NULL"
|
||||
|
|
|
@ -50,7 +50,8 @@ public class DefaultStatementProvider implements StatementProvider {
|
|||
+", MSG "+(useExternalMessageReferences ? stringIdDataType : binaryDataType)
|
||||
+", PRIMARY KEY ( ID ) )",
|
||||
"CREATE INDEX "+getFullMessageTableName()+"_MIDX ON "+getFullMessageTableName()+" (MSGID_PROD,MSGID_SEQ)",
|
||||
"CREATE INDEX "+getFullMessageTableName()+"_CIDX ON "+getFullMessageTableName()+" (CONTAINER)",
|
||||
"CREATE INDEX "+getFullMessageTableName()+"_CIDX ON "+getFullMessageTableName()+" (CONTAINER)",
|
||||
"CREATE INDEX "+getFullMessageTableName()+"_EIDX ON "+getFullMessageTableName()+" (EXPIRATION)",
|
||||
"CREATE TABLE "+getTablePrefix()+durableSubAcksTableName+"("
|
||||
+"CONTAINER "+containerNameDataType+" NOT NULL"
|
||||
+", CLIENT_ID "+stringIdDataType+" NOT NULL"
|
||||
|
|
Loading…
Reference in New Issue