Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate: Problem with View returning list of nulls

 
Dave Robinson
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a problem with retrieving values from a view that I created. I have created a mapping file, entity and updated my applicationContext to list the entity in the sessionFactory. My DAO attempts to retrieve all values from the view as a list, but it returns a list of the correct size but all null values. What can be causing this, I have another view and other tables that do not give me this issue. Please advise, is there something that I am missing?

I am using Spring3.0.6 and hibernate 3.6.2

************************hbm.xml***********************


*************************DAO***************************


**********************Entity*****************************


***********Embedded id**********************



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic