Hi,
First Merry Christmas to all!
I am new to hibernate i am facing problem in implementing HQL for select query. Below is my hbm file:
and the related HQL for this in POJO class
but when I try to run this i got error message like this:
Hibernate: select register0_.FIRSTNAME as col_0_0_, register0_.LASTNAME as col_1_0_, register0_.EMAIL as col_2_0_ from CONTACT register0_
java.lang.String
As the name has changed in query i am not able to get any record from database.
Can any one tell me what s the actual solution for this problem.
With Regards,
Pradeep Sharma