Hy, I have a property in a hbm file that is java.util.Date; in the Database Oracle the data type is DATE and the LENGHT is 7. 1. Everytime I recover this property from hibernate, what I recover is a TimeStamp object and not a Date object(normal?)
The real problem is when the date in the database has 23 hour like this: 2011-01-10 23:00:00 and hibernate does un update , what I see after in the database is something like this: 2011-01-10 23:00:00:-1; I mean, is setting a bad date in the database. 2. so is there a know problem when a Date has 23 hour? because it only happens when the hour of the Date is 23.
Thanks a lot
|