Re: bug in getTime after insertRow with postgresql-8.1-404.jdbc3.jar

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: "hpb(at)htl-steyr(dot)ac(dot)at" <hpb(at)htl-steyr(dot)ac(dot)at>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: bug in getTime after insertRow with postgresql-8.1-404.jdbc3.jar
Date: 2006-01-06 00:51:04
Message-ID: 43BDBEF8.1000708@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

hpb(at)htl-steyr(dot)ac(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2006-01-06 00:52:38 Re: Fw: Re: GROUP_CONCAT in PostgreSQL
Previous Message Oliver Jowett 2006-01-06 00:48:23 Re: Out Parameter Support