This is an automated email from the ASF dual-hosted git repository. acosentino 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 e911ad3 Regen for commit 0b0c27b5c15bbf8acf20bfa0899d4b175906616e e911ad3 is described below commit e911ad351fe78ab2b19cd1bb5afebbbdcbd54ad8 Author: jeremyross <jeremyr...@users.noreply.github.com> AuthorDate: Fri Feb 12 19:21:28 2021 +0000 Regen for commit 0b0c27b5c15bbf8acf20bfa0899d4b175906616e Signed-off-by: GitHub <nore...@github.com> --- .../resources/org/apache/camel/catalog/docs/sql-component.adoc | 5 +++++ docs/components/modules/ROOT/pages/sql-component.adoc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sql-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sql-component.adoc index 2360151..c312aa6 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sql-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/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]. diff --git a/docs/components/modules/ROOT/pages/sql-component.adoc b/docs/components/modules/ROOT/pages/sql-component.adoc index 2d5c9f8..4f93b65 100644 --- a/docs/components/modules/ROOT/pages/sql-component.adoc +++ b/docs/components/modules/ROOT/pages/sql-component.adoc @@ -333,6 +333,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].