Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mapping View using Hibernate Spring  RSS feed

Rizwan Ahmad Khan
Posts: 1
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is first time i am posting on JavaRanch.
I have created mapping files for view using hibernate code generator plugin of eclipse . When i query to View i am getting empty list from query object but the view contains data. This is my mapping file

And My entity classes is :

Can any one tell me why i am getting Empty List object when i query to view the view dose not have any Primary Key field.
this is the method which i am calling
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!