This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using two POJOs in my application, One is User and another is Salary. And i am extending User in my Salary POJO, But one i try to query something in User POJO Hibernate throwing some errors like Property of User POJO is not there in Salary POJO.
Like userName is not a property of Salary POJO.
Why this happening, Is there any solution for this?