Use a SQLExceptionTranslator bean if defined #43499
Labels
status: superseded
An issue that has been superseded by another
type: enhancement
A general enhancement
If a
SQLExceptionTranslator
bean has been defined, it should be used in the autoconfiguration ofJdbcTemplate
andLocalContainerEntityManagerFactoryBean
.Otherwise, it is fiddly to guarantee that the translator has been set before the autoconfigured beans are fist used. I think this would do it, but it's going to slow down startup:
The text was updated successfully, but these errors were encountered: