-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement
Milestone
Description
#25335 allowed the use of SQLErrorCodeSQLExceptionTranslator
to be disabled by configuring spring.ignore.xml
to true
. 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 if SQLErrorCodeSQLExceptionTranslator
could be used without loading sql-error-codes.xml
.
From @jhoeller:
For our default purposes, we could even keep those error code mappings in a hard-coded class - and possibly get rid of the default
sql-error-codes.xml
file completely, just supporting that file format for user-provided files.
ttddyy
Metadata
Metadata
Assignees
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement