Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public List<Orderedproduct> findByOrderId(Object id) {
- return em.createNamedQuery("Orderedproduct.findByCustOrderid").setParameter("productid", id).getResultList();
- java.lang.IllegalArgumentException: You have attempted to set a parameter value using a name of productid that does not exist in the query string SELECT o FROM Orderedproduct o WHERE o.orderedproductPK.custOrderid = :custOrderid.
Add Comment
Please, Sign In to add comment