Skip to content

Exception translation does not expose original BatchUpdateException anymore #35717

@advptr

Description

@advptr

An update in n 6.2.12 introduces a breaking change.

JdbcTemplate.batchUpdate used to throw DataIntegrityViolationException with a java.sql.BatchUpdateException as the cause, but now the cause is different.

Also see:
spring-projects/spring-data-relational#2170
#35547

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions