spring-framework / org.springframework.jdbc.support / CustomSQLExceptionTranslatorRegistry / registerTranslator
registerTranslator
open fun registerTranslator(dbName: String, translator: SQLExceptionTranslator): Unit
Register a new custom translator for the specified database name.
Parameters
dbName - the database name
translator - the custom translator