Skip to content

Protect against getParameterType cursor leak with Oracle 12c JDBC driver [SPR-14629] #19196

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-14629 and commented

As mentioned in recent comments on #18398, the Oracle 12c JDBC driver has a bug that leads to a cursor leak when getParameterType throws an exception. Our #18398 change in Spring Framework 4.2.5 unfortunately reveals that cursor leak, ironically as a side effect of consistent runtime behavior which implies consistent exposure to that leak :-(

Let's consider a spring.jdbc.getParameterType.ignore default of true for Oracle 12c for the time being.


Affects: 4.2.5, 4.3 GA

Issue Links:

Referenced from: commits 52447ef, 2adbfb6

Backported to: 4.2.8

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions