Hello Konstantin! r u the same guy from Hivemind list? Dude you are everywhere ;).
Well my problem isn't with the mapping it self. The issue is, on the database I have only time recorded, like 10:15:00. I need to fetch data that meets a given criteria, like "fetch all data that the time is before now" problem is now, is a "complete" date object (mm/dd/yyyy HH:mm:ss). I was doing with a calendar object, but it required me doing a lot of conversion, and I could't filter anything from HQL.
What I'd like to know is how to work with only times on Hibernate.
Thanks
|