Oracle and Dates
From: Roedy Green (look-at-the-website_at_mindprod.com)
Date: 03/25/04
- Next message: Ian deSouza: "Access locks table after query"
- Previous message: Charles Fineman: "Re: Oracle 8 Performance Scrollable Result Sets Last/First"
- Next in thread: Ruud de Koter: "Re: Oracle and Dates"
- Reply: Ruud de Koter: "Re: Oracle and Dates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Mar 2004 23:40:28 GMT
I say this about Oracle and dates in the Java glossary. Somebody
wrote and said it was not true. I did not generate this from first
hand experience. What is the truth?
Oracle SQL databases expect dates stored to be presented in UTC, yet
when you retrieve them they automatically convert to local time. This
is not what you want. A servlet's local time has no relation to the
final client's local time. Store dates as longs or ints to avoid
Oracle's foolish meddling.
-- Canadian Mind Products, Roedy Green. Coaching, problem solving, economical contract programming. See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
- Next message: Ian deSouza: "Access locks table after query"
- Previous message: Charles Fineman: "Re: Oracle 8 Performance Scrollable Result Sets Last/First"
- Next in thread: Ruud de Koter: "Re: Oracle and Dates"
- Reply: Ruud de Koter: "Re: Oracle and Dates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|