393394395396397398399400401402403
sqlStat.incrementRunningCount(); try { boolean inTransaction = !statement.getConnectionProxy().getAutoCommit(); if (inTransaction) { sqlStat.incrementInTransactionCount(); } } catch (SQLException e) { LOG.error("getAutoCommit error", e); } }
317318319320321322323324325326327
392393394395396397398399400401402
414415416417418419420421422423424
if (sqlStat != null) { sqlStat.setExecuteLastStartTime(System.currentTimeMillis()); sqlStat.incrementRunningCount(); if (inTransaction) { sqlStat.incrementInTransactionCount(); } } StatFilterContext.getInstance().executeBefore(sql, inTransaction);
358359360361362363364365366367368
419420421422423424425426427428429
390391392393394395396397398399400