You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/08/12 14:53:48 UTC

[jira] [Resolved] (CAMEL-7206) Enable an option to pickup named parameters from headers with mybatis component

     [ https://issues.apache.org/jira/browse/CAMEL-7206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-7206.
--------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.15.0

> Enable an option to pickup named parameters from headers with mybatis component
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-7206
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7206
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-mybatis
>            Reporter: Gardella Juan Pablo
>            Assignee: Claus Ibsen
>            Priority: Minor
>              Labels: mybatis, sql
>             Fix For: 2.15.0
>
>
> For example the select query:
> 	<select id="sss" parameterType="java.util.Map"
> 		resultType="map">
> 		select fila,o.IDENTIFICACION
> 		from detalle d 
> 		join orden o on d.orden_id=o.id
> 		where informe_id=#{informeId} 
>        </select>
> The component picks the named parameters only from the body. Some cases it is useful pick the named parameters from the header. It is better if the component has an option like "useHeaderParameters" or something like that and I can let the message body intact.
> Related forum: http://camel.465427.n5.nabble.com/Is-it-possible-to-configure-mybatis-component-to-pick-parameters-from-header-td5747318.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)