Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 49083632DF6 for ; Fri, 20 Mar 2009 19:13:40 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 98845-03 for ; Fri, 20 Mar 2009 19:13:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 6C33F632558 for ; Fri, 20 Mar 2009 19:13:38 -0300 (ADT) Received: from 219-89-102-160.jetstart.xtra.co.nz ([219.89.102.160] helo=[192.168.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Lkmy4-0007Gr-Kz; Sat, 21 Mar 2009 11:13:32 +1300 Message-ID: <49C4150B.8060902@opencloud.com> Date: Sat, 21 Mar 2009 11:13:31 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Roland Roberts CC: pgsql-jdbc@postgresql.org Subject: Re: Hibernate, JBoss, PostgreSQL, timestamp read doesn't match during update References: <49C3C5FB.20706@astrofoto.org> In-Reply-To: <49C3C5FB.20706@astrofoto.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/100 X-Sequence-Number: 19430 Roland Roberts wrote: > Yes, restrict the timestamp to millisecond precision. Somewhere the > sub-millisecond parts are getting lost. I have no idea if it is in the > JDBC layer or somewhere in Hibernate. Any clues on figuring this out? Is the server built with integer_datetimes? Maybe you are just hitting a rounding problem. -O