Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-14 Thread Gerald Mixa
t; Gerald >> Von meinem iPhone gesendet >> >>>> Am 12.07.2021 um 14:33 schrieb Zuzana Krenkova : >>> >>> Is it possible to use PostgreSQL insert with returning clause with Camel >>> sql component? This insert statement works fine on its own (insert

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-14 Thread Zuzana Krenkova
ith your Jdbc drivers do not handle this in a correct way! > > Greetings > > Gerald > Von meinem iPhone gesendet > > > Am 12.07.2021 um 14:33 schrieb Zuzana Krenkova : > > > > Is it possible to use PostgreSQL insert with returning clause with Camel > &

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-13 Thread Zuzana Krenkova
amel.apache.org/components/latest/sql-component.html#_generated_keys > > zoran > > On Mon, Jul 12, 2021 at 2:33 PM Zuzana Krenkova > wrote: > > > > Is it possible to use PostgreSQL insert with returning clause with Camel > > sql component? This insert statemen

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-12 Thread Zoran Regvart
t with returning clause with Camel sql > component? This insert statement works fine on its own (inserting and also > returning id and token), but when used in a Camel route, the insert gets > processed but exchange body is returned empty. Why? > > INSERT INTO my_table(token) val

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-12 Thread Gerald Mixa
gt;> >>>> Am 12.07.2021 um 14:33 schrieb Zuzana Krenkova : >>> >>> Is it possible to use PostgreSQL insert with returning clause with Camel >>> sql component? This insert statement works fine on its own (inserting and >>> also returning id

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-12 Thread Zuzana Krenkova
hrieb Zuzana Krenkova : > > > > Is it possible to use PostgreSQL insert with returning clause with Camel > > sql component? This insert statement works fine on its own (inserting and > > also returning id and token), but when used in a Camel route, the insert > > gets pro

Re: PostgreSQL insert with returning clause with Camel sql component

2021-07-12 Thread Gerald Mixa
Am 12.07.2021 um 14:33 schrieb Zuzana Krenkova : > > Is it possible to use PostgreSQL insert with returning clause with Camel sql > component? This insert statement works fine on its own (inserting and also > returning id and token), but when used in a Camel route, the insert gets

PostgreSQL insert with returning clause with Camel sql component

2021-07-12 Thread Zuzana Krenkova
Is it possible to use PostgreSQL insert with returning clause with Camel sql component? This insert statement works fine on its own (inserting and also returning id and token), but when used in a Camel route, the insert gets processed but exchange body is returned empty. Why? INSERT INTO