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 ) )",
|
+", PRIMARY KEY ( ID ) )",
|
||||||
"CREATE INDEX "+getTablePrefix()+messageTableName+"_MIDX ON "+getTablePrefix()+messageTableName+" (MSGID_PROD,MSGID_SEQ)",
|
"CREATE INDEX "+getTablePrefix()+messageTableName+"_MIDX ON "+getTablePrefix()+messageTableName+" (MSGID_PROD,MSGID_SEQ)",
|
||||||
"CREATE INDEX "+getTablePrefix()+messageTableName+"_CIDX ON "+getTablePrefix()+messageTableName+" (CONTAINER)",
|
"CREATE INDEX "+getTablePrefix()+messageTableName+"_CIDX ON "+getTablePrefix()+messageTableName+" (CONTAINER)",
|
||||||
|
"CREATE INDEX "+getFullMessageTableName()+"_EIDX ON "+getFullMessageTableName()+" (EXPIRATION)",
|
||||||
"CREATE TABLE "+getTablePrefix()+durableSubAcksTableName+"("
|
"CREATE TABLE "+getTablePrefix()+durableSubAcksTableName+"("
|
||||||
+"CONTAINER "+containerNameDataType+" NOT NULL"
|
+"CONTAINER "+containerNameDataType+" NOT NULL"
|
||||||
+", CLIENT_ID "+stringIdDataType+" NOT NULL"
|
+", CLIENT_ID "+stringIdDataType+" NOT NULL"
|
||||||
|
|
|
@ -51,6 +51,7 @@ public class DefaultStatementProvider implements StatementProvider {
|
||||||
+", PRIMARY KEY ( ID ) )",
|
+", PRIMARY KEY ( ID ) )",
|
||||||
"CREATE INDEX "+getFullMessageTableName()+"_MIDX ON "+getFullMessageTableName()+" (MSGID_PROD,MSGID_SEQ)",
|
"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+"("
|
"CREATE TABLE "+getTablePrefix()+durableSubAcksTableName+"("
|
||||||
+"CONTAINER "+containerNameDataType+" NOT NULL"
|
+"CONTAINER "+containerNameDataType+" NOT NULL"
|
||||||
+", CLIENT_ID "+stringIdDataType+" NOT NULL"
|
+", CLIENT_ID "+stringIdDataType+" NOT NULL"
|
||||||
|
|
Loading…
Reference in New Issue