-->
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: Query by DateTime Criteria complex
PostPosted: Tue Mar 17, 2009 1:01 pm 
Newbie

Joined: Tue Mar 17, 2009 12:50 pm
Posts: 1
Hi everyone

I'm noob on NHibernate and my english is not very well, i'm from Lima, PerĂº

NHibernate is very good for every task that i accomplished, but today i have a great problem.

I need to do a report, so i need to query a table with one field DateTime, the problem is i need to search by a range of dates, and also a range of hours

For example

Input:
Initial Date: January 1st
Final Date: February 1st
Range of Hours: 8-10am

Output
All the registers between January 1st and February 1st, but they should be in that range of hours

Can anyone help me?o.o

Thxs


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.