Skip to content

Commit

Permalink
bugfix: oracle database insert value error (#4696)
Browse files Browse the repository at this point in the history
  • Loading branch information
opelok-z committed Jun 21, 2022
1 parent 95a89d5 commit d5fe866
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class BaseDistributedLockSql implements DistributedLockSql {
+ " WHERE " + ServerTableColumnsName.DISTRIBUTED_LOCK_KEY + " = ? FOR UPDATE";

protected static final String INSERT_DISTRIBUTED_LOCK_SQL = "INSERT INTO " + DISTRIBUTED_LOCK_TABLE_PLACE_HOLD + "("
+ ALL_COLUMNS + ") VALUE (?, ?, ?)";
+ ALL_COLUMNS + ") VALUES (?, ?, ?)";

protected static final String UPDATE_DISTRIBUTED_LOCK_SQL = "UPDATE " + DISTRIBUTED_LOCK_TABLE_PLACE_HOLD + " SET "
+ ServerTableColumnsName.DISTRIBUTED_LOCK_VALUE + "=?, " + ServerTableColumnsName.DISTRIBUTED_LOCK_EXPIRE + "=?"
Expand Down

0 comments on commit d5fe866

Please sign in to comment.