Hi

Ah yeah there was some code missing. I have pushed a fix. You are
welcome to test again.

On Wed, Aug 13, 2014 at 9:52 AM, A577127 <antoine.mat...@worldline.com> wrote:
> Hi,
>
> I just tryed your fix and it works fine. Thank you.
>
> However, I have one last problem :camel-jdbc doesn't preserve headers on
> some INSERT requests.
>
> These lines :
>
> were moved from JdbcProducer.process to some "deeper" functions, but now it
> doesn't get called all the time.
>
> For instance, if I want to perform a 'vanilla' INSERT,
> /JdbcProducer.doCreateAndExecuteSqlStatement/ gets called. It calls
> /stmtExecutionResult = stmt.execute(sql);/, and if it returns true, it calls
> /
> setResultSet/ which preserves headers. However, if it returns false (in my
> case, or with any INSERT/UPDATE), it doesn't preserve headers.
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-jdbc-snapshots-SQLException-tp5755058p5755129.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to