Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mapping View using Hibernate Spring

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
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!