-->
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: date
PostPosted: Wed May 21, 2008 8:14 am 
Newbie

Joined: Thu Dec 27, 2007 4:03 am
Posts: 3
Hibernate version: 3.1

hi to all,
i am new in hibernate.my hibernate version is 3.1.i want a hql query that return datarow which lies between that given date range.i mean to say that how to wirte hql query to find out the dates between the two dates.
reply me soon.


Top
 Profile  
 
 Post subject: dates between a date range
PostPosted: Wed May 21, 2008 8:52 am 
Newbie

Joined: Wed May 21, 2008 8:33 am
Posts: 5
>hql query to find out the dates between the two dates

Hi,

From what I understand, this problem is a general date utility request. There is no place for any O/R mapping here. There is no specific table you want to query. It is more of a utility function which should return the list of dates between 2 dates.

If what I understand is correct, you should write a small java function to return a list of dates between 2 dates.

Otherwise, if you have any specific table in mind, post it.


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.