Skip to content

Commit

Permalink
too big of a bigint for some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed May 8, 2012
1 parent f319d4a commit 8e3b9c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void init() {
}
try {
create(new Sequence(TableConstants.SYM_OUTGOING_BATCH, maxBatchId, 1, 1,
Long.MAX_VALUE, "system", false));
9999999999l, "system", false));
} catch (UniqueKeyException ex) {
log.debug("Failed to create sequence {}. Must be initialized already.",
TableConstants.SYM_OUTGOING_BATCH);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@
<column name="current_value" type="BIGINT" required="true" default="0" description="The current value of the sequence."/>
<column name="increment_by" type="INTEGER" required="true" default="1" description="Specify the interval between sequence numbers. This integer value can be any positive or negative integer, but it cannot be 0."/>
<column name="min_value" type="BIGINT" required="true" default="1" description="Specify the minimum value of the sequence."/>
<column name="max_value" type="BIGINT" required="true" default="9223372036854775807" description="Specify the maximum value the sequence can generate."/>
<column name="max_value" type="BIGINT" required="true" default="9999999999" description="Specify the maximum value the sequence can generate."/>
<column name="cycle" type="BOOLEANINT" size="1" default="0" description="Indicate whether the sequence should automatically cycle once a boundary is hit." />
<column name="create_time" type="TIMESTAMP" description="Timestamp when this entry was created." />
<column name="last_update_by" type="VARCHAR" size="50" description="The user who last updated this entry." />
Expand Down

0 comments on commit 8e3b9c4

Please sign in to comment.