Avoid loading XML files for default SQL exception translation #28216
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
#25335 allowed the use of
SQLErrorCodeSQLExceptionTranslator
to be disabled by configuringspring.ignore.xml
totrue
. This successfully reduced the footprint when running in a GraalVM native image, but at the cost of potentially different exception translation. To ensure consistent behavior, it would be useful ifSQLErrorCodeSQLExceptionTranslator
could be used without loadingsql-error-codes.xml
.From @jhoeller:
The text was updated successfully, but these errors were encountered: