spring-framework / org.springframework.jdbc.support / CustomSQLExceptionTranslatorRegistry / findTranslatorForDatabase

findTranslatorForDatabase

@Nullable open fun findTranslatorForDatabase(dbName: String): SQLExceptionTranslator

Find a custom translator for the specified database.

Parameters

dbName - the database name

Return
the custom translator, or null if none found