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.kl...@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 >