[
https://issues.apache.org/jira/browse/CAMEL-4725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091091#comment-15091091
]
ASF GitHub Bot commented on CAMEL-4725:
---------------------------------------
GitHub user snurmine opened a pull request:
https://github.com/apache/camel/pull/759
CAMEL-4725: Batch support. Single Producer for both SQL-components.
Added batch support for StoredProcedures. It uses Spring API as much as
possible.
StoredProcedure can be read from message body and parameters are read from
header.
Only Map is supported as parameter in this case.
Refactored SqlProducer to support both CallableStatement and
PreparedStatement. New name is DefaultSqlProducer(as it is now more general
class). Adapters for PreparedStatement, CallableStatement and
CallableStatement batch mode are in "wrapper"-package.
Moved parameters only sensible for SQL component into SqlComponent and
left common properties into DefaultSqlComponent.
There are a lot of changes to avoid duplicate logic in code between
CallableStament and PreparedStatement implementations.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/snurmine/camel CAMEL-4725
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/759.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #759
----
commit 2a7ae3c8da7c43543b610638d0f8261d879c1b7c
Author: Sami Nurminen <[email protected]>
Date: 2016-01-09T10:18:27Z
CAMEL-4725: Batch support. Single Producer for both SQL-components.
----
> camel-sql - Add support for Callable statements
> -----------------------------------------------
>
> Key: CAMEL-4725
> URL: https://issues.apache.org/jira/browse/CAMEL-4725
> Project: Camel
> Issue Type: New Feature
> Components: camel-sql
> Affects Versions: 2.8.3
> Reporter: Christian Müller
> Assignee: Claus Ibsen
> Fix For: 2.17.0
>
>
> See
> [Nabble|http://camel.465427.n5.nabble.com/call-Oracle-Package-procedure-td5032133.html]
> for details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)