class TracingJdbcEventListener extends SimpleJdbcEventListener {

  @Override public void onAfterAnyExecute(StatementInformation info, long elapsed, SQLException e) {
    Span span = ThreadLocalSpan.CURRENT_TRACER.remove();
    if (span == null || span.isNoop()) return;

    if (e != null) {
      span.error(e);
      span.tag("error", Integer.toString(e.getErrorCode()));
    }
    span.finish();
  }

    TracingJdbcEventListener(@Nullable String remoteServiceName, boolean includeParameterValues,
    P6LogLoadableOptions logOptions);

}