Thanks Steve. I do see that from the results. But is there a work around for same? or possible to reframe the query such that results are returned even if pers.otherDataObj is null? I do want to use the projection query with dynamic instantiation and quite a few tries in modifying the hql failed for me.
My hql currently looks something like,
Code:
select new MyPersonRow(pers.lastName, pers.firstName, pers.otherDataObj) from Person pers;
and I want to indicate that 'return me the results even if otherDataObj is null or empty ?