code: @Override
    public boolean writeEvent(AuditEvent event) throws HandlerException {
      StringBuilder elements = new StringBuilder();
      for (Field element : event.getFields()) {
        elements.append(
          element.getName() + " " + element.getType() + ":" + element.getValue() + ", ");
      }
  
      try (Connection conn = getConnection()) {
        try (PreparedStatement statement = conn.prepareStatement(insertQuery)) {
          statement.setString(1, event.getUuid().toString());
          statement.setTimestamp(2, new Timestamp(event.getTimestamp().getTime()));
          statement.setString(3, event.getActor());
          statement.setString(4, event.getOrigin());
          statement.setString(5, event.getAction());
          statement.setString(6, elements.toString());
  
          return statement.execute();
        }
      } catch (SQLException e) {
        throw new HandlerException("SQL Exception", DatabaseAuditHandler.class, e);
      }
    }
docs: {@inheritDoc}
  
  @see org.audit4j.handler.db.AuditLogDao#writeEvent(org.audit4j.core.dto.AuditEvent)