There are two types of query parameters binding in the Hibernate Query. One is positioned parameter and another one is named parameter.
Can I use these two parameters in one Query?
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.
I Don’t think so, if you try it, hibernate you give you the following error:
Why would you want to do that?
Edit: Jeshurun offers a much better solution. Please check his answer below.