Are you trying to convert this to HQL or run it as a SQLQuery?
Also, pay special attention to the sections in the posting form that ask for your code, the SQL generated, and stack traces.
Quote:
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelpHibernate version: Mapping documents:Code between sessionFactory.openSession() and session.close():Full stack trace of any exception that occurs:Name and version of the database you are using:The generated SQL (show_sql=true):Debug level Hibernate log excerpt: