for timestamp and date in hibernate.hbm.xml,the compare method something different.
?* timestamp support the hh:mm:ss and date will ignore that or make missstake.see the
?* hibernate reference.
so save the same java.util.date,but different in the database.