Received: from gemini.cybersurf.net (root@gemini.cybersurf.net [209.197.128.8]) by hub.org (8.8.8/8.7.5) with ESMTP id XAA07740 for ; Wed, 24 Jun 1998 23:29:29 -0400 (EDT) Received: from cal.cybersurf.net (enterprise.cia.com [206.186.71.66]) by gemini.cybersurf.net (8.8.7/8.8.7) with ESMTP id VAA32603 for ; Wed, 24 Jun 1998 21:29:16 -0600 Received: from ENTERPRISE/SpoolDir by cal.cybersurf.net (Mercury 1.40); 24 Jun 98 21:30:20 MST Received: from SpoolDir by ENTERPRISE (Mercury 1.40); 24 Jun 98 21:30:09 MST Received: from cybersurf.net (209.197.128.52) by cal.cybersurf.net (Mercury 1.40) with ESMTP; 24 Jun 98 21:29:58 MST Message-ID: <3591C741.93633F87@cybersurf.net> Date: Wed, 24 Jun 1998 21:42:57 -0600 From: Dallas Hockley Organization: Cybersoft Communications Software Inc. X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: jdbc, Dates, and JBuilder Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Got a wee problem here, and I'm having a devil of a time locking it down.... Using 6.3.1 Postgresql, with the accompanying jdbc driver, and using Jbuilder 1.01 and 2.0, I am reading in a string, converting it to a valid and correct sql.date, putting that into a DataRow instance (Borland class) and committing the row to the database. The data is correct in the data row as it prepares for the commit. After insert, when the row is retrieved, the day is consistently 1 too large. e.g. 04-14-1998 becomes 04-15-1998 after it's been committed via the jdbc driver. What I'm not sure of is if it's the driver, the database, the datarow class or some interface between two of them. Has anyone experienced similar behaviour, or has anyone got a definitive "it can't be ..... because.... " I'd appreciate any assistance on this. Thanks in advance, Dallas Hockley hockleyd@cybersoft.ab.ca