I created the following query:
SELECT
o.codigoChamado,
o.codigoOrcamento,
group_concat(o.conteudoOrcamento),
o.observacaoOrcamento
FROM
Orcamentos as o
group by
o.codigoChamado,
o.codigoOrcamento,
o.observacaoOrcamento
order by
o.codigoOrcamento
When executed directly on the database, I get the expected result normally, however this query
needs to be executed via JPQL and group_concat
is not native to JPQL, there is something I can replace group_concat
but still get the same return?