Hi,
- Offering both 1 and 3 might also be an option, keep old queries working and tell people to use 3 if they want to do scalar queries - leads to API bloat and added confusion.
+1 and
Put the old one Class[] on the classic session and deprecate it, and the new one with Type[] on the new session.
Implemented that and added a revised patch too http://opensource.atlassian.com/projects/hibernate/browse/HB-454
Michael
-- Michael Gloegl mail: [EMAIL PROTECTED] www: http://www.gloegl.de phone: +49 (0)176 24 111 070
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel