Re: camel sql insert clear body with CamelSqlRetrieveGeneratedKeys and MariaDB

2017-03-31 Thread Zoran Regvart
t; Product Owner Integrations / Integrations Manager > Prince II certified – ITIL certified > Tel: +32-3-326.50.75 > > -Original Message- > From: Zoran Regvart [mailto:zo...@regvart.com] > Sent: vrijdag 31 maart 2017 12:14 > To: users@camel.apache.org > Subject: Re: c

RE: camel sql insert clear body with CamelSqlRetrieveGeneratedKeys and MariaDB

2017-03-31 Thread Ronny Aerts
rince II certified – ITIL certified Tel: +32-3-326.50.75 -Original Message- From: Zoran Regvart [mailto:zo...@regvart.com] Sent: vrijdag 31 maart 2017 12:14 To: users@camel.apache.org Subject: Re: camel sql insert clear body with CamelSqlRetrieveGeneratedKeys and MariaDB Hi Ronny, from w

Re: camel sql insert clear body with CamelSqlRetrieveGeneratedKeys and MariaDB

2017-03-31 Thread Zoran Regvart
Hi Ronny, from what I can see from the SqlProducer source code the body is set if the PreparedStatement::execute method returns `true`[1]. I could be reading this wrong, but to me it seems that you're using insert/update statement that does not return a ResultSet, so in that case the body will be n