You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ankur <an...@accenture.com> on 2013/10/01 18:52:07 UTC

Camel + myBatis Issue

Hi all,

I am copying data from one datadource to another datasource using mybatis
component.

i achieved it but during insertion i'm getting issues.

how to perform batch insert using myBatis. Any other way as i'm using oracle
database.

Kindly help me to resolve this issue

thanks 




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-myBatis-Issue-tp5740706.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel + myBatis Issue

Posted by Ankur <an...@accenture.com>.
Thank you all for your help.
I'm able to resolve the issues. i have changed my query to achieve this
result



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-myBatis-Issue-tp5740706p5740872.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel + myBatis Issue

Posted by gquintana <ge...@gmail.com>.
To do batch insert/update with MyBatis, you must use a SqlSession with BATCH
ExecutorType:

or 






--
View this message in context: http://camel.465427.n5.nabble.com/Camel-myBatis-Issue-tp5740706p5740750.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel + myBatis Issue

Posted by Arunit <ar...@gmail.com>.
hi everyone,
                  using mybatis component  for read xml file to insert in
mysql. I dono any idea but clearly understood the flow of mybatis but 
facing problem. any body guide ME



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-myBatis-Issue-tp5740706p5798289.html
Sent from the Camel - Users mailing list archive at Nabble.com.