Package org.internna.ossmoney.model

Examples of org.internna.ossmoney.model.Account.merge()


        loaded.setFavorite(account.getFavorite());
        loaded.setDescription(account.getDescription());
        loaded.setAccountNumber(account.getAccountNumber());
        loaded.setInitialBalance(account.getInitialBalance());
        loaded.setHeldAt(FinancialInstitution.findFinancialInstitution(account.getHeldAt().getId()));
        loaded.merge();
      }
      return index(modelMap);
    }

    @RequestMapping("/view-transaction/{id}")
View Full Code Here


                if (transaction.getSubcategory() != null) {
                    transaction.setSubcategory(Subcategory.entityManager().getReference(Subcategory.class, transaction.getSubcategory().getId()));
                }
                transaction.persist();
                account.setLastModified(new Date());
                account.merge();
            }
        }
        return accountId;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.