0 Replies Latest reply on Nov 4, 2008 4:15 PM by tonyukuk

    update problem

    tonyukuk

      I have list which displays value taken from database.


      p=this.getEntityManager().createQuery("select p from PlanItem p where p.order=:order and p.orderitem=:orderitem").setParameter("order",order).setParameter("orderitem", orderitem).getResultList();



      When I change the value displayed by the list it updates itself automatically.


      How can I prevent this list to automatically update values in database?