This is an automated email from the ASF dual-hosted git repository.

jeremyross pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b0c27b  camel-sql: Document CamelSqlGeneratedColumns header.
0b0c27b is described below

commit 0b0c27b5c15bbf8acf20bfa0899d4b175906616e
Author: Jeremy Ross <[email protected]>
AuthorDate: Fri Feb 12 12:34:14 2021 -0600

    camel-sql: Document CamelSqlGeneratedColumns header.
---
 components/camel-sql/src/main/docs/sql-component.adoc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/components/camel-sql/src/main/docs/sql-component.adoc 
b/components/camel-sql/src/main/docs/sql-component.adoc
index 2360151..c312aa6 100644
--- a/components/camel-sql/src/main/docs/sql-component.adoc
+++ b/components/camel-sql/src/main/docs/sql-component.adoc
@@ -331,6 +331,11 @@ generated keys in headers. +
 the generated keys will be provided as headers with the keys listed in
 the table above.
 
+To specify which generated columns should be retrieved, set the header 
`CamelSqlGeneratedColumns`
+to a `String[]` or `int[]`, indicating the column names or indexes, 
respectively. Some databases
+requires this, such as Oracle. It may also be necessary to use the 
`parametersCount` option if the
+driver cannot correctly determine the number of parameters.
+
 You can see more details in this
 
https://gitbox.apache.org/repos/asf?p=camel.git;a=blob;f=components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlGeneratedKeysTest.java;h=54c19b7332bb0aa81ee24ff3d3a66885a6b9e9aa;hb=HEAD[unit
 test].
 

Reply via email to