-->
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.  [ 2 posts ] 
Author Message
 Post subject: HQL - Howto
PostPosted: Wed Jun 01, 2005 9:14 am 
Newbie

Joined: Wed Jun 01, 2005 9:01 am
Posts: 5
Location: Recife, Brasil
I have data with a timestamp attribute and need to retrieve a hour-count-report.
Example:

12:10:15 - data1
12:11:10 - data2
13:18:10 - data3
13:38:21 - data4
13:43:00 - data5


the report should come like this:

12-13 | 2
13-14 | 3


Could anybody help me to make this hql query?
thanks!

_________________
Ricardo Cavalcanti


Top
 Profile  
 
 Post subject: Sorry!
PostPosted: Wed Jun 01, 2005 10:01 am 
Newbie

Joined: Wed Jun 01, 2005 9:01 am
Posts: 5
Location: Recife, Brasil
Sorry for bothering! i´ve found the answer on chapter 15. I haven't tested yet, but I'm quite sure it'll work!
thanks anyway.

_________________
Ricardo Cavalcanti


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

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.