Skip to content

SimpleJdbcCall: Function return type (REF CURSOR) should be resolved properly. [SPR-10606] #15235

@spring-projects-issues

Description

@spring-projects-issues

Fedor Bobin opened SPR-10606 and commented

If you need to call Oracle function like this:

function get_foo() return ref cursor

you will get java.sql.SQLException: Invalid column type: 1111

For regular parameters (not for return type) there is a workaround for ref cursor (see CallMetaDataContext.java:394)

I have done this also for return type.
#294


Affects: 3.2.3

Reference URL: #294

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions