Comparing java.util.Date with database time (java.sql.Timestamp) 1

And so it happened. I stumbled again and this time I was hit by mere milliseconds. Yeah!!! One sure would find a few milliseconds really insignificant but it gave me a real pain in the a** for a while. All I did was to compare a “cron expression” time (a java.util.Date object) with the timestamp ...