In a JPQL query, I tried to combine a string with an integer using the CONCAT JPQL function in a select clause, for example:
SELECT CONCAT(c.idClient, ' ', c.name) FROM Clients c;
But the result is not a readable string.
Is it possible to use only the String function in CONCAT?
Thanks in advance.
source
share