Skip to content

Spring-jdbc 5.0.5 NamedParameterJdbcTemplate.batchUpdate ORA-01000 [SPR-16814] #21354

Closed
@spring-projects-issues

Description

@spring-projects-issues

Fedor opened SPR-16814 and commented

After migrating from Spring 4.1.7 to Spring 5.0.5 we have ORA-01000: maximum open cursors exceeded when using with Oracle 12c and ojdbc7-driver.

Exception raised after following code

@SuppressWarnings("unchecked")
private void updateHiddenOffers(Map<String, Object>[] updateBatchParams) {
 int[] updateResults = namedJdbcTemplate.batchUpdate(UPDATE_HIDDEN_OFFER_SQL, updateBatchParams);

The issue is very similar to #20687

But we dont have ability to update ojdbc driver.

Is it fixed in 5.0.6 version?


Affects: 5.0.5

Issue Links:

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions