Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping View using Hibernate Spring

 
Rizwan Ahmad Khan
Greenhorn
Posts: 1
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ALL,
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