you can try criteria.add(column, Date, comparison).

Gary Lawrence Murphy wrote:
> 
> Oh oh.  time to see if Turbine truly does let you do anything ;)
> 
> I need to delete (expire) records based on the clocktime column being
> less than now, but there is no family of Criteria.addDate( column,
> java.util.Date, comparison ) methods ... the only methods provided
> have a one-day resolution :(
> 
> How do I create a Criteria for a timestamp?
> 
> Is my only recourse to use long-int column types?
> 
> --
> Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
> Business Innovations Through Open Source Systems: http://www.teledyn.com
> "Computers are useless.  They can only give you answers."(Pablo Picasso)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to