spring-projects / spring-projects/spring-integration

Stored Procedure Channel Adapter Add Schema [INT-3348]

Open
#7,317 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: jdbc type: enhancement
Dominant language
Java
Stars
1.6k
Forks
1.2k
Avg merge
17h 48m
Merged PRs (30d)
62

Description

Emil Glatz opened INT-3348* and commented

I need to be able to specify the schema in a stored procedure channel adapter. For example:

<jdbc:stored-proc-outbound-channel-adapter data-source="dataSource" channel="splitCjisJobs"
  stored-procedure-name="PRC_GET_CJIS_DATA" auto-startup="true" schema="SCHEMA">
  <jdbc:parameter name="AUDIT_ID" expression="payload"/>
</jdbc:stored-proc-outbound-channel-adapter>

Reference URL: https://stackoverflow.com/questions/44787659/how-to-specify-schema-name-in-int-jdbcstored-proc-outbound-gateway

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the JDBC stored-procedure outbound channel adapter represented by the jdbc:stored-proc-outbound-channel-adapter XML element, then review how its attributes are defined and passed to the stored procedure. Done means the adapter accepts the schema="SCHEMA" attribute and uses it when invoking the stored procedure, with coverage for the example configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
backend, database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.