| Hibernate version: 2 
 Name and version of the database you are using: Oracle 8
 
 I am running a date based search where i am trying to find records within a certain time range, however when I specify a start and end date/time that occur on the same day as the record I am expecting in the result, it doesn't come back
 
 ie.
 Database table foo:
 record1, startDate = 01/10/2005 10:00:00
 
 HQL:
 from foo as obj where obj.startDate >= ? and obj.startDate <= ?
 
 where arg 1 is a date:
 01/10/2005 00:00:01
 
 and arg 2 is a date:
 01/10/2005 23:59:59
 
 No result returned.
 
 The weird thing is, when I set arg 2 to the following day (02/10/2005 23:59:59), the record is correctly returned?
 
 
 |