-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to implement wm_concat function of pl/sql in HQL?
PostPosted: Wed Feb 15, 2012 12:23 pm 
Newbie

Joined: Wed Feb 15, 2012 12:19 pm
Posts: 1
Hi Hibernate experts,

Please help me to implement the wm_concat function in HQL.


If my table has a column name with values

Institution_id name
1 Iowa University1
2 Iowa University2
3 Iowa University3
4 Iowa University4
5 Iowa University5

Then I want the value returned by my HQL query as

Iowa University1,Iowa University2,Iowa University3,Iowa University4,Iowa University5

I don't want to use native SQL or reading values and iterating and generate String value.

Thanks,
Hari


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.