You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/05/11 07:50:50 UTC
[jira] Commented: (CAMEL-1596) camel-ibatis - Option to control the
iBatis operation used so we can use it like camel-jdbc or camel-sql
[ https://issues.apache.org/activemq/browse/CAMEL-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51612#action_51612 ]
Claus Ibsen commented on CAMEL-1596:
------------------------------------
1.x: 773474.
> camel-ibatis - Option to control the iBatis operation used so we can use it like camel-jdbc or camel-sql
> --------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-1596
> URL: https://issues.apache.org/activemq/browse/CAMEL-1596
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-ibatis
> Affects Versions: 1.6.0, 2.0-M1
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.6.1, 2.0.0
>
>
> In a route like this
> {code}
> from("xxx")
> .to("ibatis:selectOrderById")
> .to("bean:handleOrder")
> {code}
> Does not work as the current codebase expects to insert data when you produce data to it (or select all if body is null). This is kinda {{odd}} behavior.
> So what we need is a new option to specify which operation on SqlMapClient to invoke
> - queryForObject
> - queryForList
> - insert
> - update
> - delete
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.