Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Adding hours to date column while creating criteria
Joined: Aug 07, 2010
Apr 26, 2012 00:10:06
I want to add some hours to a date column before applying criteria onto it.
//This is something I want -- >>> criteria.add(Restrictions.geProperty(("date"+few_hours), system_date));
But I am not able to get the solution.
It is sorta covered in the
JavaRanch Style Guide
subject: Adding hours to date column while creating criteria
URLyBird : 48 hours rule enforced
shortening the TimeStamp to just the year/month/day?
Hibernate time not being saved through Date
comparing dates in SELECT statment
Sorting on a property of an inner object (object within an object)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013