Calendar vs. Timestamp
От | Wei Wei |
---|---|
Тема | Calendar vs. Timestamp |
Дата | |
Msg-id | 20060411172844.7305786B12@ws7-1.us4.outblaze.com обсуждение исходный текст |
Ответы |
Re: Calendar vs. Timestamp
|
Список | pgsql-jdbc |
I move this issue from the general mailing list. Here is my problem: In the Java application, I create a Calendar object and the getTime and getTimeZone return the following values: * Sun Apr 09 12:40:52 PDT 2006 * Pacific Standard Time The Calendar object is matched to the timestamp with time zone data type throught Hibernate. And the above data is storedas the following: 2006-04-09 14:40:53.093-07 That is not correct. The command of "select now()" returns a correct value. The PG version is 8.0.x and the jdbc versionis 8.0.309.jdbc3. Is it a bug in the driver? Thanks. -- _______________________________________________ Search for businesses by name, location, or phone number. -Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
В списке pgsql-jdbc по дате отправления: