Skip to content

Support optional parameters in stored procedures #27322

Open
@mwisnicki

Description

@mwisnicki

As per https://stackoverflow.com/questions/13162043/spring-simplejdbccall-default-optional-arguments there seems to be no straightforward way to call stored procedure with optional parameters.

I would expect there to be something like SqlDefaultParamaterValue for explicit binding to default value (in SQL Server this would generate DEFAULT).
Additionally SimpleJdbcCall should do it automatically for missing parameters based on metadata (COLUMN_DEF)

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: dataIssues in data modules (jdbc, orm, oxm, tx)status: pending-design-workNeeds design work before any code can be developedtype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions