(FilterChain chain, StatementProxy statement)
| 121 | } |
| 122 | |
| 123 | @Override |
| 124 | public int[] statement_executeBatch(FilterChain chain, StatementProxy statement) throws SQLException { |
| 125 | Transaction transaction = Cat.newTransaction(CatConstants.TYPE_SQL, url); |
| 126 | Cat.logEvent("SQL.DbType", dbType); |
| 127 | Cat.logEvent("SQL.Database", url); |
| 128 | Cat.logEvent("SQL.sql", statement.getBatchSql()); |
| 129 | int[] result; |
| 130 | try { |
| 131 | result = super.statement_executeBatch(chain, statement); |
| 132 | transaction.setStatus(Message.SUCCESS); |
| 133 | } catch (SQLException e) { |
| 134 | Cat.logError(e); |
| 135 | transaction.setStatus(e); |
| 136 | throw e; |
| 137 | } finally { |
| 138 | transaction.complete(); |
| 139 | } |
| 140 | |
| 141 | return result; |
| 142 | } |
| 143 | |
| 144 | @Override |
| 145 | public ResultSetProxy statement_executeQuery(FilterChain chain, StatementProxy statement, String sql) |
nothing calls this directly
no test coverage detected