• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Hibernate mapping problem

 
M Manjunath
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am very new to Spring and Hibernate..and i come across a scenario like i want to use some SQL special function.

This time i tried with average of studentmarks group by course_id(SELECT AVG(MARKS) AS AVERAGE FROM STUDENT GROUP BY COURSE_ID)
.There is no POJO variable or mapping entry for my result in the XML file(AVARAGE).


Can anyone help me out with a solution for the same

Thanks in advance
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to ORM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic