NamedQuery
Hi,
I followed the tutorial regarding the NamedQuery. But having some problems.
1. there is no queryString="" method.
2. i used query="" instead of queryString. the code then compiles.
3. it compiles but when it's invoked, it throws an exception message "NamedQuery of name: myNamedQuery not found" when using the createNamedQuery() method of the EntityManager.
4. it works fine when i call the createQuery() method and doing same sql statement.
am i doing something wrong somewhere? please help.
regards,
andrew

