Groups
Groups
Sign in
Groups
Groups
Querydsl
Conversations
About
Send feedback
Help
GroupConcat equivalent in SQLSubquery querydsl
541 views
Skip to first unread message
pradeep gupta
unread,
Oct 21, 2015, 9:54:45 AM
10/21/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Querydsl
Hi all I am using nested quries in query dsl. One of the subquery is returning a single column. I want to concat all the rows of that column.
timowest
unread,
Oct 22, 2015, 1:17:51 PM
10/22/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Querydsl
Querydsl SQL doesn't have direct support for group_concat, but you can express what you need through template expressions:
Expression<?> groupConcat = Expressions.template(String.class, "group_concat({0})", expr);
Reply all
Reply to author
Forward
0 new messages