-->
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: Who can write such a query?
PostPosted: Tue Mar 29, 2005 3:07 am 
Newbie

Joined: Mon Mar 14, 2005 4:35 am
Posts: 5
There are two objects Job and Task, one job contains many tasks. task has a property called startTime (Type is Timestamp). Now I want to select the jobs that their earliest tasks (the task contains earliest startTime in each Job) after someday such as 2005-03-24. How do I write the HQL query? Thanks.


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.