Having a javax.persistence.Query object how can I manipulate it, or how can I inject in it different searched parameters & values?
I have a NamedQuery, and I want to change the query, so that the results are filtered by an entity field & value.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t. Define another named query with the where clause that suits you, and use that named query instead.