SQLExceptionTranslator instances for specific databases.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | translators
Map registry to hold custom translators specific databases. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public void | setTranslators(Map<String, SQLExceptionTranslator> translators)
Setter for a Map of |
| translators | back to summary |
|---|---|
| private final Map<String, SQLExceptionTranslator> translators Map registry to hold custom translators specific databases.
Key is the database product name as defined in the
| |
| CustomSQLExceptionTranslatorRegistrar | back to summary |
|---|---|
| public CustomSQLExceptionTranslatorRegistrar() | |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set.
| |
| setTranslators | back to summary |
|---|---|
| public void setTranslators(Map<String, SQLExceptionTranslator> translators) Setter for a Map of Note that any existing translators will remain unless there is a match in the database name, at which point the new translator will replace the existing one. | |