mirror of https://github.com/apache/activemq.git
added NOT NULL contraint for ID column in ACTIVEMQ_LOCK table
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@425971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fdde1661cb
commit
f2a80acac5
|
@ -80,7 +80,7 @@ public class Statements {
|
|||
+ ", CLIENT_ID " + stringIdDataType + " NOT NULL" + ", SUB_NAME " + stringIdDataType
|
||||
+ " NOT NULL" + ", SELECTOR " + stringIdDataType + ", LAST_ACKED_ID " + sequenceDataType
|
||||
+ ", PRIMARY KEY ( CONTAINER, CLIENT_ID, SUB_NAME))",
|
||||
"CREATE TABLE " + getFullLockTableName() + "( ID " + longDataType + ", TIME " + longDataType
|
||||
"CREATE TABLE " + getFullLockTableName() + "( ID " + longDataType + " NOT NULL, TIME " + longDataType
|
||||
+ ", BROKER_NAME " + stringIdDataType + ", PRIMARY KEY (ID) )",
|
||||
"INSERT INTO " + getFullLockTableName() + "(ID) VALUES (1)",
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue