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

group_concat in hibernate

 
debraj mallick
Ranch Hand
Posts: 188
Hibernate Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i have a table which consists of id, pageWeight and pageText columns only, now i can write sql query like

but how can i achieve the with hibernate.

any help would be appreciated.
 
Aniket Bharsakle
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same scenario & I'm currently working on it.
I encountered it while my R&D analysis.
You can find some hint at below Links :

Link 1 : http://stackoverflow.com/questions/4955580/hibernate-how-to-use-concat-and-group-concat

Link 2 : http://stackoverflow.com/questions/26210036/how-to-use-group-concat-in-hibernate-criteria
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic