From: Doug C. <de...@fl...> - 2002-02-19 05:19:09
|
In cirrus.hibernate.type.DateType the set method does: st.setDate(index, new Date( ( (java.util.Date) value).getTime() ) ); This will discard any Calendar associated with the Date, and consequently any timezone associated with the Date. How can the jdbc driver extract the DATE portion of the 'milliseconds since January 1, 1970 00:00:00 GMT' accurately if it doesn't know the timezone? The jdbc driver could assume local time, or could assume GMT, but neither of these is as satisfactory as pulling the timezone from the original Date. e |