首页 \ 问答 \ Camunda自定义插入查询(Camunda custom insert queries)

Camunda自定义插入查询(Camunda custom insert queries)

在遵循此文档并示例https://docs.camunda.org/manual/7.3/real-life/how-to/#process-engine-custom-queries-custom-mybatis-queries时 ,您能解释一下我们如何能够执行插入查询? 在列出值的示例中,他们使用了以下方法。 commandContext.getDbSqlSession()。selectList(“selectTasksForRegion”,region,0,100);

但是commandContext.getDbSqlSession()。insert是一个受保护的方法,因此我无法从中获取插入查询。 感谢任何建议。


While following this documentation and sample https://docs.camunda.org/manual/7.3/real-life/how-to/#process-engine-custom-queries-custom-mybatis-queries, could you please explain how we can execute insert queries? In the sample to list values they have used below method. commandContext.getDbSqlSession().selectList("selectTasksForRegion", region, 0, 100);

However commandContext.getDbSqlSession().insert is a protected method, therefore I'm unable to get an insert query out of it. Appreciate any suggestions.


原文:https://stackoverflow.com/questions/35506652
更新时间:2023-09-22 21:09

最满意答案

<p> <div>不是有效的HTML。

http://www.w3.org/TR/html401/struct/text.html#h-9.3.1

看来,DOM正试图通过打开/关闭无效的<p>标签来解决它。


A <div> inside a <p> is not valid HTML.

http://www.w3.org/TR/html401/struct/text.html#h-9.3.1

It appears that the DOM is attempting to fix it for you by opening/closing invalid <p> tags.

相关问答

更多