未验证 提交 190ed525 编写于 作者: A a121024976 提交者: GitHub

Update RestfulPreparedStatement.java (#10576)

repair insert Timestamp is null error
上级 5e473650
......@@ -63,7 +63,7 @@ public class RestfulPreparedStatement extends RestfulStatement implements Prepar
public void setNull(int parameterIndex, int sqlType) throws SQLException {
if (isClosed())
throw TSDBError.createSQLException(TSDBErrorNumbers.ERROR_STATEMENT_CLOSED);
setObject(parameterIndex, "NULL");
setObject(parameterIndex, null);
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册