When using string_agg with WITHIN GROUP (ORDER BY ...), Querydsl generates invalid SQL syntax due to a missing space between ORDER BY and the column name. This ...
Concatenates the values of string expressions and places separator values between them. The separator is not added at the end of string.