Skip to content

Allow the use of an existing SQLExceptionTranslator #400

Closed
@evfool

Description

@evfool

Currently the MybatisExceptionTranslator hardcodes an SQLErrorCodeSQLExceptionTranslator as a fallback, and it is not possible to change this, e.g. to the Java6-supported spring default SQLExceptionSubclassTranslator, or an SQLStateSQLExceptionTranslator, or a custom translator.

It would be nice to have that fallback configurable.

Metadata

Metadata

Assignees

Labels

enhancementImprove a feature or add a new feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions