Lucia Drozdová created CAMEL-19746:
--------------------------------------
Summary: [DOCS ] Camel-mybatis component - missing code examples
Key: CAMEL-19746
URL: https://issues.apache.org/jira/browse/CAMEL-19746
Project: Camel
Issue Type: Task
Components: camel-mybatis
Reporter: Lucia Drozdová
There are lot of missing code snippets in [camel-mybatis
documentation|https://camel.apache.org/components/3.21.x/mybatis-component.html]
:
#
[https://camel.apache.org/components/3.21.x/mybatis-component.html#_using_statementtype_for_better_control_of_mybatis]
** missing code after *So for instance if we want to route to an MyBatis
endpoint in which the IN body contains parameters to a {{SELECT}} statement we
can do:*
** missing code after *We can do the same for some of the other operations,
such as SelectList*
** missing code after *And the same for UPDATE, where we can send an Account
object as the IN body to MyBatis:*
#
[https://camel.apache.org/components/3.21.x/mybatis-component.html#_using_insertlist_statementtype]
** missing code after *To use this, you need to use the <foreach> in the
mapper XML file. For example as shown below:*
** missing code after *Then you can insert multiple rows, by sending a Camel
message to the {{mybatis}} endpoint which uses the {{InsertList}} statement
type, as shown below:*
#
[https://camel.apache.org/components/3.21.x/mybatis-component.html#_using_onconsume]
** missing code after {*}And the statements in the sqlmap file:{*}{*}{*}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)