public static boolean isSqlStateRollbackException ( SQLException se ) { String sqlState = se . getSQLState ( ) ; return sqlState != null && sqlState . startsWith ( "40" ) ; }
Determines if the SQL exception is a rollback exception