This content has been marked as final.
Show 1 reply
-
1. Re: entitymanager
zergspirit Sep 1, 2008 10:15 AM (in response to tonyukuk)As simple as that:
this.getEntityManager().createQuery("select salesPrice from Price where depotname = :depotname" and where productname=:productname).setParameter("depotname", depotname).setParameter("productname", productname).getSingleResult().toString();