I have read in a book saying that named queries are introduced in version 3 of hibernate only. However I remember using them in Hibernate 2. Can someone validate which is correct?
Share
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.
If I believe this documentation of the API, I would say that named queries were there back in version 2.0.
Hibernate API Documentation
Yet, it is not clearly mentioned, I believe only since I found this link for a search to “Hibernate 2.0 documentation” on Google, and it is not the same documentation of the actual version, plus it mentions
hibernate-2in the URL.