code: public final void updateOwner(final Map<String, Object> pAddParam,
      final WageTaxLine pEntity) throws Exception {
      String query =
      "select sum(ITSTOTAL) as ITSTOTAL from WAGETAXLINE"
        + " join TAX on TAX.ITSID = WAGETAXLINE.TAX"
          + " where TAX.ITSTYPE=3 and ITSOWNER="
            + pEntity.getItsOwner().getItsId();
      Double total = getSrvDatabase().evalDoubleResult(query, "ITSTOTAL");
      if (total == null) {
        total = 0d;
      }
      pEntity.getItsOwner().setTotalTaxesEmployee(BigDecimal.valueOf(total)
        .setScale(getSrvAccSettings().lazyGetAccSettings(pAddParam)
          .getPricePrecision(), getSrvAccSettings()
            .lazyGetAccSettings(pAddParam).getRoundingMode()));
      query =
      "select sum(ITSTOTAL) as ITSTOTAL from WAGETAXLINE"
        + " join TAX on TAX.ITSID = WAGETAXLINE.TAX"
          + " where TAX.ITSTYPE=4 and ITSOWNER="
            + pEntity.getItsOwner().getItsId();
      total = getSrvDatabase().evalDoubleResult(query, "ITSTOTAL");
      if (total == null) {
        total = 0d;
      }
      pEntity.getItsOwner().setTotalTaxesEmployer(BigDecimal.valueOf(total)
        .setScale(getSrvAccSettings().lazyGetAccSettings(pAddParam)
          .getPricePrecision(), getSrvAccSettings()
            .lazyGetAccSettings(pAddParam).getRoundingMode()));
      pEntity.getItsOwner().setNetWage(pEntity.getItsOwner()
        .getItsTotal().subtract(pEntity.getItsOwner()
          .getTotalTaxesEmployee()));
      getSrvOrm().updateEntity(pAddParam, pEntity.getItsOwner());
    }
docs: <p>Insert immutable line into DB.</p>
  @param pAddParam additional param
  @param pEntity entity
  @throws Exception - an exception