named queries in hibernate 3 only?
I have read in a book saying that named queries are intr开发者_C百科oduced in version 3 of hibernate only. However I remember using them in Hibernate 2. Can someone validate which is correct?
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-2
in the URL.
精彩评论