pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Barry Lind <blind@xythos.com>
To: Peter Katzmann <p.katzmann@thiesen.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Timestamp problems
Date: Thu, 06 Feb 2003 09:02:24 -0800
Message-ID: <3E429520.904@xythos.com> (raw)
In-Reply-To: <3E4266AC.4060907@thiesen.com>
References: <3E4266AC.4060907@thiesen.com>

Peter,

When you say you tried with the current version what do you mean? 
Specifically have you tried the latest 7.3 build from 
jdbc.postgresql.org?  There were some recent bug fixes in this area that 
I think may fix your problem.

If the current code still has this problem, can you submit a test case 
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 for
> the query has a modified date. The date is something original:
> 
> 
> insert into hours  ( entrydate, activitydate, remark, time, userid, 
> checked,
> phaseid, activityid, zkub, id ) values  '2003-02-06 11:11:29.338000000+00',
> '2003-02-06 11:11:29.338000000+00', 'öfölsdajklö', 120, 'pk1057', 'f', 
> null,
> null, null, 12747 )
> 
> 
> And this will be aftter the data was read back, the checked flag changed 
> and
> wrote back
> 
> update hours set entrydate = '2003-02-05 23:00:00.000000000+00', 
> activitydate
> = '2003-02-05 23:00:00.000000000+00', remark = 'öfölsdajklö', time = 120,
> userid = 'pk1057', checked = 't', phaseid = 5, activityid = 3, zkub = ' '
> where id = 12747
> 
> First occured the problem with postgres 7.2 so i updated to a current 
> version,
> but no go either.
> 
> 
> peter
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 
> 






view thread (9+ messages)  latest in thread

Message-ID: <3E429520.904@xythos.com>
Permalink:  ../3E429520.904@xythos.com/
Also on:    postgresql.org/message-id/3E429520.904@xythos.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: blind@xythos.com, p.katzmann@thiesen.com
  Subject: Re: Timestamp problems
  In-Reply-To: <3E429520.904@xythos.com>
  References: <3E4266AC.4060907@thiesen.com> <3E429520.904@xythos.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox