Have you read http://www.hibernate.org/hib_docs/reference/en/html/querysql.html? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088833#4088833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088833