This commit is contained in:
@@ -1181,7 +1181,9 @@ public abstract class DataSqlSource<DBChannel> extends AbstractService implement
|
|||||||
blobs.add((byte[]) val);
|
blobs.add((byte[]) val);
|
||||||
setsql.append(" = ").append(prepareParamSign(++index));
|
setsql.append(" = ").append(prepareParamSign(++index));
|
||||||
} else {
|
} else {
|
||||||
setsql.append(" = ").append(info.formatSQLValue(val, sqlFormatter));
|
CharSequence sqlval = info.formatSQLValue(val, sqlFormatter);
|
||||||
|
if (sqlval == null && info.isNotNullJson(attr)) sqlval = "''";
|
||||||
|
setsql.append(" = ").append(sqlval);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (neednode) {
|
if (neednode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user