0 Replies Latest reply on Oct 22, 2009 2:27 PM by Palani swamy

    How to move old records to history table

    Palani swamy Newbie
      List<BgtBudgetItemBreakups> xx = this.getEntityManager()
                               .createQuery("from BgtBudgetItemBreakups WHERE ClientId=:clientid AND BudgetItemId=:bgtitemid")
                                    .setParameter("clientid", LoginUserInfo.getClientId())
                                    .setParameter("bgtitemid", this.instance.getBgtBudgetItems().getBudgetItemId())

      I can't get oldvalues from database through List Collection Object only possible to access update values.