Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
0003124: Sym_sequence table change column name cycle to not be an ANSI
reserved word
  • Loading branch information
jumpmind-josh committed May 24, 2017
1 parent c4d25c2 commit 9b3807d
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -32,11 +32,11 @@ public SequenceServiceSqlMap(IDatabasePlatform platform, Map<String, String> rep
// @formatter:off
putSql("getSequenceSql",
"select sequence_name,current_value,increment_by,min_value,max_value, " +
"cycle,cache_size,create_time,last_update_by,last_update_time from $(sequence) where sequence_name=?");
"cycle_flag,cache_size,create_time,last_update_by,last_update_time from $(sequence) where sequence_name=?");

putSql("getAllSequenceSql",
"select sequence_name,current_value,increment_by,min_value,max_value," +
"cycle,cache_size,create_time,last_update_by,last_update_time from $(sequence)");
"cycle_flag,cache_size,create_time,last_update_by,last_update_time from $(sequence)");

putSql("getCurrentValueSql",
"select current_value from $(sequence) where sequence_name=?");
Expand All @@ -48,7 +48,7 @@ public SequenceServiceSqlMap(IDatabasePlatform platform, Map<String, String> rep
putSql("insertSequenceSql",
"insert into $(sequence) " +
" (sequence_name, current_value, increment_by, min_value, max_value, " +
" cycle, cache_size, create_time, last_update_by, last_update_time) " +
" cycle_flag, cache_size, create_time, last_update_by, last_update_time) " +
" values(?,?,?,?,?,?,?,current_timestamp,?,current_timestamp) ");

putSql("maxOutgoingBatchSql", "select max(batch_id)+1 from $(outgoing_batch)");
Expand Down

0 comments on commit 9b3807d

Please sign in to comment.