Protect against getParameterType cursor leak with Oracle 12c JDBC driver [SPR-14629] #19196
Labels
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
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 oftrue
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
The text was updated successfully, but these errors were encountered: