Hello,

I have two objects mapped to tables:

Vehicle {
id
manufacturerId
ManufacturerObj
...
}

and 

Manufacturer {
id
name
...
}

The repository has these mapped in a vanilla 1:1 fashion - so nothing too complex 
there just standard repository mapping (ommitted for clarity)

What I need to do is:

obtain a  list of distinct Manufacturer objects based only on those manufacturerId's 
that exist in the vehicle table.

How can this be done/what's the best way???  - i think i need to use a 
ReportQueryByCriteria but I'm not sure of the correct usage as the online docs are a 
little scant.

Thanks in advance

Jin

Reply via email to