- 
                Notifications
    You must be signed in to change notification settings 
- Fork 38.8k
Closed
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancementA general enhancement
Milestone
Description
Kiril Nugmanov opened SPR-12801 and commented
org.springframework.jdbc.core.simple.AbstractJdbcCall uses org.springframework.jdbc.core.metadata.CallMetaDataContext to generate JDBC statement.
In case of Oracle PL/SQL org.springframework.jdbc.core.metadata.CallMetaDataContext.createCallString can be changed to support default values by implementing following changes in constructing JDBC statement from:
{call some_package.some_procedure(?,?,?)}
to
{call some_package.some_procedure(p_parameter_1 => ?, p_parameter_2 => ?, p_parameter_3 =>?)}
Change can be implemented in 2 ways:
- modify org.springframework.jdbc.core.metadata.CallMetaDataContext in case if DB is Oracle
- introduce setter for callMetaDataContext in org.springframework.jdbc.core.simple.AbstractJdbcCall then users can introduce it's own modification of org.springframework.jdbc.core.metadata.CallMetaDataContext
Affects: 4.1.5
Reference URL: #763
Issue Links:
- StoredProcedure enhancement to allow parameters to be optional [SPR-3510] #8193 StoredProcedure enhancement to allow parameters to be optional
- Support named parameters in CallableStatementCreator implementation [SPR-4406] #9084 Support named parameters in CallableStatementCreator implementation
1 votes, 4 watchers
Metadata
Metadata
Assignees
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancementA general enhancement