APISonar


io.ebeaninternal.server.transaction.TransactionManager.log

> io > ebeaninternal > server > transaction > TransactionManager > log
io APIs ebeaninternal APIs server APIs transaction APIs TransactionManager APIs log APIs

Example 1
private final TransactionManager transactionManager;

  private void executeSql(Connection connection, String sql) throws SQLException {
    if (sql != null) {
      try (PreparedStatement stmt = connection.prepareStatement(sql)) {
        transactionManager.log().sql().debug(sql);
        stmt.execute();
      }
    }
  }