spring-framework / org.springframework.jdbc.support / JdbcAccessor / getExceptionTranslator

getExceptionTranslator

open fun getExceptionTranslator(): SQLExceptionTranslator

Return the exception translator for this instance.

Creates a default SQLErrorCodeSQLExceptionTranslator for the specified DataSource if none set, or a SQLStateSQLExceptionTranslator in case of no DataSource.

See Also
#getDataSource()