camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmhatre <>
Subject Re: Help with bulk insert using Spring+JPA+hibernate
Date Wed, 16 May 2012 22:46:51 GMT
Hi Folks,
   I figured out some workaround for this problem. I dont know whether this
is the proper way to do it or is it something that can be enhanced in camel.
   I went throught the JpaProducer and found out that the
expression.evaluate looks for some kind of convertor else picks default
convertor and exactly where my code was failing since it was trying to match
arraylist to the entity.
   Below is the workaround that I implemented and was able to successfully
do the batch insert.
                <from uri="file:D://cameldata/test"/>
                <process ref="jpaProcessor"/>               

Look forward to hear some more inputs if possible on this issue.
Thank You!

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

View raw message