Are you bundling hibernate with your application (sounds like a version mismatch somewhere in the classloaders)?
nope, i didnt.
basically this app was developed in eap 5.1 which runs on hibernate 3.2.x and just deploying it in eap 6.1.0alpha which runs on hibernate 4.x causing this problem.
i am using Restrictions.eq in my codebase and for time beign i altered to Restrictions.like, but need to find and fix permanent solution for this? for me looks like in 4.x Restrictions.eq definitions have been changed.
Try building it against the 4.x line, if there are compile errors then the signatures have changed and you'll just have to re-write the code if you want to run it on EAP 6, I guess.