Remember that when you write HQLs, you don't refer to the table or its columns. Instead you use the mapped class and their properties. In your example, you have mapped PERSON table to events.Person, so your HQL should be:

Remember that when you write HQLs, you don't refer to the table or its columns. Instead you use the mapped class and their properties. In your example, you have mapped PERSON table to events.Person, so your HQL should be:

[ May 20, 2008: Message edited by: Jaikiran Pai ]

thank you jai....im also faced same issue solved now....

Yousuf

bikramjit mandal

Greenhorn

Posts: 1

posted 4 years ago

Thanks this was just what I also faced and its solved! Thanks a lot Jai!