com.jpattern.orm.session.datasource.exception
Class SpringBasedSQLStateSQLExceptionTranslator

java.lang.Object
  extended by com.jpattern.orm.session.datasource.exception.SpringBasedSQLStateSQLExceptionTranslator

public class SpringBasedSQLStateSQLExceptionTranslator
extends Object

An exception wrapper based on the code of org.springframework.jdbc.support.SQLStateSQLExceptionTranslator of spring-jdbc module

Author:
cinafr

Method Summary
static OrmSqlException doTranslate(String task, String sql, SQLException ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

doTranslate

public static OrmSqlException doTranslate(String task,
                                          String sql,
                                          SQLException ex)


Copyright © 2013. All Rights Reserved.