Tag Archives: namedquery

org.hibernate.QueryParameterException: could not locate named parameter

When you query the database in Hibernate using NamedQuery you may run into this error org.hibernate.QueryParameterException: could not locate named parameter [parm1] Chances are that you are either trying to set a parmeter to the query which infact doesn’t exist in your query. For example you are trying to do… Read more »