IIRC in 3.0 PrefetchTreeNode.JOINT_PREFETCH_SEMANTICS generates an outer join 
by default (???)

Andrus

On Jan 5, 2011, at 2:14 AM, Bruno René Santos wrote:

> Hello all,
> 
> Is there any way to create a left outer join without using an actual path on 
> the query expressions? I tried something like this:
> 
> query.addPrefetch(HoTiposFechoContas.TO_HO_TABLE_PROPERTY + 
> "+").setSemantics(PrefetchTreeNode.JOINT_PREFETCH_SEMANTICS);
> 
> but cayenne raises an exception because of the concatenated '+' sign.
> 
> Regards
> Bruno
> -- 
> Bruno René Santos | brunor...@holos.pt <mailto:brunor...@holos.pt> | Gestor 
> de Projectos | Analista | Programador | Tech Hunter
> 
> Holos - Soluções Avançadas em Tecnologias de Informação S.A.
> Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque
> Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal
> Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt
> 
> 
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. If 
> you are not the intended recipient or the person responsible for delivering 
> the email to the intended recipient, be advised that you have received this 
> email in error and that any use, dissemination, forwarding, printing, or 
> copying of this email is strictly prohibited. If you have received this email 
> in error please notify Carlos Fazenda by telephone on +351 210 438 686
> 

Reply via email to