I need to do UNION operation on 2-3 tables using native query and need to map the result in custom object. same thing is not possible with JPA as JPA does not support UNION clause.
I heard about SqlResultSetMapping, is it useful in this case?
How and where to use this, any link or something? did not get much information on the google.