X-Original-To: pgsql-jdbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7F3A7475A4B for ; Thu, 6 Feb 2003 12:24:14 -0500 (EST) Received: from mail.xythos.com (ip-216-36-77-241.dsl.sjc.megapath.net [216.36.77.241]) by postgresql.org (Postfix) with ESMTP id 555B54758DC for ; Thu, 6 Feb 2003 12:24:09 -0500 (EST) Received: from ravms by mail.xythos.com with mail-ok (Exim 3.36 #3) id 18gpl0-0007ib-00; Thu, 06 Feb 2003 17:24:14 +0000 Received: from ip-216-36-77-241.dsl.sjc.megapath.net ([216.36.77.241] helo=xythos.com) by mail.xythos.com with asmtp (Exim 3.36 #3) id 18gpl0-0007iQ-00; Thu, 06 Feb 2003 17:24:14 +0000 Message-ID: <3E429520.904@xythos.com> Date: Thu, 06 Feb 2003 09:02:24 -0800 From: Barry Lind User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Katzmann Cc: pgsql-jdbc@postgresql.org Subject: Re: Timestamp problems References: <3E4266AC.4060907@thiesen.com> In-Reply-To: <3E4266AC.4060907@thiesen.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed X-Envelope-To: p.katzmann@thiesen.com, pgsql-jdbc@postgresql.org Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/117 X-Sequence-Number: 6288 Peter, When you say you tried with the current version what do you mean?=20 Specifically have you tried the latest 7.3 build from=20 jdbc.postgresql.org? There were some recent bug fixes in this area that=20 I think may fix your problem. If the current code still has this problem, can you submit a test case=20 that we can compile and run that demonstrates the problem? thanks, --Barry Peter Katzmann wrote: > High, > i' currently working with hibernate. They represent Calendar types as > timestamps. During prepareStatement and setTimestamp the data generated f= or > the query has a modified date. The date is something original: >=20 >=20 > insert into hours ( entrydate, activitydate, remark, time, userid,=20 > checked, > phaseid, activityid, zkub, id ) values '2003-02-06 11:11:29.338000000+00= ', > '2003-02-06 11:11:29.338000000+00', '=F6f=F6lsdajkl=F6', 120, 'pk1057', '= f',=20 > null, > null, null, 12747 ) >=20 >=20 > And this will be aftter the data was read back, the checked flag changed= =20 > and > wrote back >=20 > update hours set entrydate =3D '2003-02-05 23:00:00.000000000+00',=20 > activitydate > =3D '2003-02-05 23:00:00.000000000+00', remark =3D '=F6f=F6lsdajkl=F6', t= ime =3D 120, > userid =3D 'pk1057', checked =3D 't', phaseid =3D 5, activityid =3D 3, zk= ub =3D ' ' > where id =3D 12747 >=20 > First occured the problem with postgres 7.2 so i updated to a current=20 > version, > but no go either. >=20 >=20 > peter >=20 >=20 >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? >=20 > http://www.postgresql.org/users-lounge/docs/faq.html >=20 >=20