Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id CF5906337B1 for ; Fri, 20 Mar 2009 20:35:58 -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 14637-09 for ; Fri, 20 Mar 2009 20:35:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx.astrofoto.org (mx.astrofoto.org [216.254.78.156]) by mail.postgresql.org (Postfix) with ESMTP id CB756633450 for ; Fri, 20 Mar 2009 20:35:56 -0300 (ADT) Message-ID: <49C42855.3050608@astrofoto.org> Date: Fri, 20 Mar 2009 19:35:49 -0400 From: Roland Roberts User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org References: <49C3C5FB.20706@astrofoto.org> <49C4150B.8060902@opencloud.com> In-Reply-To: <49C4150B.8060902@opencloud.com> Subject: Re: Hibernate, JBoss, PostgreSQL, timestamp read doesn't match during update Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 (built Tue, 02 May 2006 07:36:10 -0400) 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/101 X-Sequence-Number: 19431 Oliver Jowett wrote: > 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. > Which server; do you mean PostgreSQL or JBoss? I think you mean JBoss, but I'm not sure how to check on that. If you know, please share. I'll see what I can find out. roland -- PGP Key ID: 66 BC 3B CD Roland B. Roberts, PhD RL Enterprises roland@rlenter.com 6818 Madeline Court roland@astrofoto.org Brooklyn, NY 11220