public class MyBatisExceptionTranslator extends Object implements org.springframework.dao.support.PersistenceExceptionTranslator
| 构造器和说明 |
|---|
MyBatisExceptionTranslator(DataSource dataSource,
boolean exceptionTranslatorLazyInit) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.dao.DataAccessException |
translateExceptionIfPossible(RuntimeException e) |
public MyBatisExceptionTranslator(DataSource dataSource, boolean exceptionTranslatorLazyInit)
public org.springframework.dao.DataAccessException translateExceptionIfPossible(RuntimeException e)
translateExceptionIfPossible 在接口中 org.springframework.dao.support.PersistenceExceptionTranslatorCopyright © 2017. All rights reserved.