camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmhatre <>
Subject Help with bulk insert using Spring+JPA+hibernate
Date Tue, 15 May 2012 23:31:03 GMT
Hi Folks,
   Below is the sample route. I am returning ArrayList<EntityTest> from
processor (can say setting exchange body). Is it possible to insert the list
in database instead for inserting it one by one?
Kindly help me with this.
Thanks in advance.

     <from uri="file:D://cameldata/test"/> 
     <process ref="jpaProcessor"/>		
     <to uri="jpa:org.apache.camel.example.spring.EntityTest"/>		

Caused by: No type converter available to convert from type:
java.util.ArrayList to the required type:

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message