Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 94773 invoked from network); 3 Dec 2005 02:14:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Dec 2005 02:14:21 -0000 Received: (qmail 44807 invoked by uid 500); 3 Dec 2005 02:14:05 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 44623 invoked by uid 500); 3 Dec 2005 02:14:03 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 44575 invoked by uid 99); 3 Dec 2005 02:14:02 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=DATE_IN_PAST_06_12 X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 18:14:01 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 8B62A486 for ; Fri, 2 Dec 2005 19:10:18 +0100 (CET) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: torque-dev@db.apache.org Date: Fri, 02 Dec 2005 18:10:18 -0000 Message-ID: <20051202181018.23005.87168@ajax.apache.org> Subject: [Db-torque Wiki] Update of "OracleFAQ" by ThomasFischer X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-torque Wiki" for change notification. The following page has been changed by ThomasFischer: http://wiki.apache.org/db-torque/OracleFAQ ------------------------------------------------------------------------------ Oracles data type DATE support date and time with an accuracy up to seconds, which is fine for many applications. Since Version 9i Oracle introduced additional data type TIMESTAMP that supports additional accuracy within fractions of seconds. - So far so good, but unfortunately Oracle broke in Version 9i the behaviour of its own JDBC-driver. The JDBC-driver now returns for data type DATE only the date part and renders the time-portion always as "00:00:00". Only for TIMESTAMP data type the full date and time are returned. + So far so good, but unfortunately the village library used by Torque to read/write data from/into databases truncates dates by setting hours, minutes and seconds all to zero. So although oracle has a better precision in its Date datatype, you can not use the better precision in Torque. === So what if I need exact date and time? === --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org