Hi,
I'm having problems with the following query
Code:
from Account a
where a.zeroSubscribersTimestamp <= :cutoffTime
In short, it seems that only the date part of the object I'm substituting for the "cutoffTime" param is being used in the comparison against the "zeroSubscribersTimestamp" property.
I've tried changing the type of this object from a Date to a Timestamp, but the result is the same - the time part is ignored. I'm running against a MySql database, and the type of the relevant column is "timestamp" in the DB and "timestamp" in the .hbm.xml.
Thanks in advance for any suggestions!
- DM