Skip to content

Commit

Permalink
Fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lserveriiev committed Dec 2, 2024
1 parent 2275b75 commit 72a20b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,9 @@ public String updateQuery(UpdateContext updateContext) {
DbTable table = updateContext.getTable();
Dialect dialect = jdbcManager.getDialect(updateContext.getDbId());

if (dialect.supportAlias()) {
params.put(ROOT_TABLE, table.render());
} else {
params.put(ROOT_TABLE, table.name());
}
params.put(ROOT_TABLE, dialect.supportAlias() ? table.render() : table.name());

params.put(ROOT_TABLE, updateContext.getWhere());
params.put(ROOT_WHERE, updateContext.getWhere());
params.put("columnSets", updateContext.renderSetColumns());
params.put(ROOT_TABLE_ALIAS, table.alias());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ public boolean handle(String contentType) {
}

private Map<String, Object> transform(Map<String, String> data) {
return new HashMap<>(data);
Map<String, Object> objectMap = new HashMap<>();

objectMap.putAll(data);

return objectMap;
}

}

0 comments on commit 72a20b1

Please sign in to comment.