The query looks like this:
Select t1.*, t2.balance from t1 left outer join t2 on (t1.id1 = t2.id1 and t1.id2 = t2.id2)
where t1.name = 'name';
I was good until I was using native queries but now I need to use Hibernate's JPA implementation for all the queries. The involved table are not associated in any way.
That's why I want to use the alternate fundamental query equivalent to left outer join.
Thanks, Mahesh