Fix spring-jooq issue related to dialect
Updated SQLErrorCodeSQLExceptionTranslator to use dialect.thirdParty().springDbName()
@@ -12,7 +12,7 @@ public class ExceptionTranslator extends DefaultExecuteListener {
@Override
public void exception(ExecuteContext context) {
SQLDialect dialect = context.configuration().dialect();
- SQLExceptionTranslator translator = new SQLErrorCodeSQLExceptionTranslator(dialect.name());
+ SQLExceptionTranslator translator = new SQLErrorCodeSQLExceptionTranslator(dialect.thirdParty().springDbName());
context.exception(translator.translate("Access database using jOOQ", context.sql(), context.sqlException()));
}
