-->
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: left join / on / is null
PostPosted: Thu Apr 22, 2004 9:27 am 
Newbie

Joined: Sun Sep 21, 2003 3:04 pm
Posts: 11
Location: Germany
Hi there,

i want to execute this query:

Code:
select inter.* from inter left join ts310
on (inter.int_kunnr = ts310.kndnr and
ts310.leidat between "2004-01-01" and "2004-01-31")
where ts310.rechnr is null


i tried this hql query :

Code:
select inter from Inter inter left join inter.ts310List ts310
on ts310.leidat between "2004-01-01" and "2004-01-31"
where ts310.rechnr is null


but the error unexpected token: on occoured.

can anyone show me the right way ?

_________________
_______________________
With best regards
S.Homburg
21220 Seevetal / GERMANY


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.