camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Grzybek <gr.grzy...@gmail.com>
Subject Re: JDBC Producer with auto generated keys and named parameters
Date Tue, 22 Apr 2014 05:53:15 GMT
Hello Pascal - I recently added this for camel-sql component (see
https://issues.apache.org/jira/browse/CAMEL-7313). If you create JIRA
ticked w/ patch, I could look at this.

regards
Grzegorz Grzybek


2014-04-21 0:45 GMT+02:00 Pascal Klink <pascal.klink@web.de>:

> Hi everyone,
>
> I have a question regarding the JDBC producer: Why is the retrieval of
> auto generated keys not supported when using named parameters?
>
> I'm asking because after looking through the code of the producer I could
> not understand why this was not implemented, since the java.sql.Connection
> interface provides a method for creating prepared statements which return
> auto generated keys. Is there any special reason why this feature is not
> implemented or could this be fixed?
>
> If the latter is the case - is it possible for me to provide a fix for
> this or do I have to open a ticket anywhere?
>
> Greetings,
> Pascal
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message