X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C91399DCA6A for ; Thu, 5 Jan 2006 20:50:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 49785-07 for ; Thu, 5 Jan 2006 20:51:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id 938FB9DCA2F for ; Thu, 5 Jan 2006 20:50:57 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Eufoq-00067p-E2; Fri, 06 Jan 2006 13:51:00 +1300 Message-ID: <43BDBEF8.1000708@opencloud.com> Date: Fri, 06 Jan 2006 00:51:04 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "hpb@htl-steyr.ac.at" CC: pgsql-jdbc@postgresql.org Subject: Re: bug in getTime after insertRow with postgresql-8.1-404.jdbc3.jar References: <43BD1383.8090702@htl-steyr.ac.at> In-Reply-To: <43BD1383.8090702@htl-steyr.ac.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.104 required=5 tests=[AWL=0.104] X-Spam-Score: 0.104 X-Spam-Level: X-Archive-Number: 200601/19 X-Sequence-Number: 14470 hpb@htl-steyr.ac.at wrote: > System.out.println("millisec before > insertRow:"+((java.sql.Time)this.db.rs.getTime("ist_von")).getTime()); > > this.db.rs.insertRow(); //write the actual insert row to table > > System.out.println("millisec after > insertRow:"+((java.sql.Time)this.db.rs.getTime("ist_von")).getTime()); Is the data actually inserted to the database correctly? If you re-query it via a different resultset, is it correct? (IIRC, insertRow() directly updates the Java-side resultset without requerying the DB, which is why I ask -- I suspect there will be a bug in that update code) -O