I got the problem solved.....whewwwwwwwwwwwwwwwwwww!!!
Here is my OLD daoHibernate:
---------------------------
Here is my New daoHibernate:
-----------------------------
and the Named Query just above the User class is given below :---
------------
Anyway, Thanks Ben for pointing the error. I guess my SQL query is not good when using createQuery. It is easier to check out the query using MySQL and then put it in the name query......
Well Thanks once again,
your little Greenhorn. Philip
Put a gun against his head, pulled my trigger, now he's dead, that tiny ad sure bled