I have a requirement where I am adding new column from a select
query like this:
select
sy.FIRST_NAME || sy.LAST_NAME as full_name,
e.*
from
employee e
left join
USERS sy on sy.SY_USER_ID = act.SY_USER_ID;
I have all the columns of the employee
table in my entity class as fields - except for full_name
.
How to map this full_name
column to a field in my entity class?