Hibernate DAO:
Hibernate POJO:
hbm.xml:
Table:
With the above one it should get 1 row. But it returns only zero rows all the while.
and below is the sql generated by Hibernate
Hibernate: select appsrespon0_.ID as ID0_, appsrespon0_.NAME as NAME0_, appsrespon0_.MODULES as MODULES0_, appsrespon0_.SERVICES as SERVICES0_ from Apps_Responsibilities appsrespon0_
Size is:0
I am tired of looking into it again and again. PLease help me