camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A577127 <>
Subject Camel-jdbc snapshots -> SQLException
Date Mon, 11 Aug 2014 13:54:04 GMT

I was trying to perform an SQL request on my MySQL database using
camel-jdbc. I'm using a named parameter that I map on my camel message
header, so I use the option /useHeadersAsParameters=true/ on my jdbc

I also have an auto-increment ID on my table and need to retrieve it when I
do an INSERT request, so in my camel message I set the header

However, using the latest version from maven (2.13.2), I noticed that this
feature (retrieving generated keys) wasn't implemented if the request uses
headers as parameters. So I looked for the last snapshot on Github.

Using the last snapshot gives me this exception :

I browsed the  history for the JdbcProducer
and found out that the issues begins with the commit on May 22, 2014. I
tried to replace the file with the  previous version
(Apr 24, 2014) and it works fine.

Hope this helps improving the component.

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

View raw message