-->
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 HELP
PostPosted: Wed Nov 19, 2008 9:14 am 
Newbie

Joined: Wed Nov 19, 2008 8:20 am
Posts: 9
I have to rewrite this query using the Criteria.
Who can to help me?

A and B aren't related.

select * from A
left join CRL_CPL
on A.CODE = B.CODE
and A.START_DATE >= B.BEGIN_DATE
and A.START_DATE <= B.END_DATE


THANKS

_________________
-------------------------------------
La realizzazione di un sogno
aiuta l'animale uomo a vivere
con dignità
-------------------------------------


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.