Lets say I have one table with two columns firstname and lastname with String datatype. Normally I write my hql query like
firstname
lastname
\"selec
You can also use || concatenation operator:
"select c.firstName || ' ' || c.lastName as fullName from Contact"
allthough it may be confusing to read.