Skip to content

Commit 4a1e4a8

Browse files
author
Putthibong Boonbong
committed
Javadocs: Change SqlSessionExceptionTranslator to PersistenceExceptionTranslator.
1 parent 85a9fb1 commit 4a1e4a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/mybatis/spring/SqlSessionTemplate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* @see SqlSession
6666
* @see ExecutorType
6767
* @see MyBatisExceptionTranslator
68-
* @see SqlSessionExceptionTranslator
68+
* @see PersistenceExceptionTranslator
6969
* @version $Id$
7070
*/
7171
public class SqlSessionTemplate implements SqlSession {
@@ -330,7 +330,7 @@ public Connection getConnection() {
330330
* Proxy needed to route MyBatis method calls to the proper SqlSession got
331331
* from String's Transaction Manager
332332
* It also unwraps exceptions thrown by {@link Method#invoke(Object, Object...)} to
333-
* pass a {@link PersistenceException} to the {@link SqlSessionExceptionTranslator}
333+
* pass a {@link PersistenceException} to the {@link PersistenceExceptionTranslator}
334334
*
335335
*/
336336
private class SqlSessionInterceptor implements InvocationHandler {

0 commit comments

Comments
 (0)