-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: outer or full join must be followed by path expression
PostPosted: Wed Jun 01, 2005 9:17 am 
Newbie

Joined: Tue Apr 26, 2005 3:06 pm
Posts: 14
Location: Vitória - ES - Brasil
I try execute the follow query:

Code:
Select new MensagemVersao(mv.Id.CodigoTipoMensagem,mv.Id.Numero,mv.Descricao,mv.DataAprovacao,tm.Descricao,tm.DataAprovacao) From MensagemVersao mv  join TipoMensagem tm  where  mv.DataAprovacao is not null  and  mv.Id.Numero = (select max(mv.Id.Numero) from MensagemVersao mv join TipoMensagem tm where mv.Id.CodigoTipoMensagem = 'CH03'  and  mv.DataAprovacao is not null  )  and  mv.Id.CodigoTipoMensagem = 'CH03' . outer or full join must be followed by path expression [ Select new MensagemVersao(mv.Id.CodigoTipoMensagem,mv.Id.Numero,mv.Descricao,mv.DataAprovacao,tm.Descricao,tm.DataAprovacao) From br.com.vixteam.msgmgr.entity.MensagemVersao mv  join TipoMensagem tm  where  mv.DataAprovacao is not null  and  mv.Id.Numero = (select max(mv.Id.Numero) from br.com.vixteam.msgmgr.entity.MensagemVersao mv join TipoMensagem tm where mv.Id.CodigoTipoMensagem = 'CH03'  and  mv.DataAprovacao is not null  )  and  mv.Id.CodigoTipoMensagem = 'CH03'


What I made of wrong?

_________________
Roberto Marconi


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.