I don't think you should change the queries. Changing to the correct hibernate version
is the most likely thing
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247525#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...