openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Nozicka <georg.nozi...@nozicka.at>
Subject Re: AW: AW: Unnecessary Join when using the Type construct in JPA Query
Date Mon, 02 Apr 2012 11:40:23 GMT

Boblitz John wrote
> 
> 
> Just an idea ...
> 
> Why not join directly to the AdressLocation Entity?
> 
> John
> 

John,
I’m not sure what you mean with „join directly to the AdressLocation
Entity”. 

For both (i.e. filter by name or filter by name and street) samples (Version
3) I do the join to AddressLocation by specifying “… left join
c.addressesLocation al …”. 

Maybe you can give a sample? 

Georg




--
View this message in context: http://openjpa.208410.n2.nabble.com/Unnecessary-Join-when-using-the-Type-construct-in-JPA-Query-tp7424993p7429117.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message