From: hpb@htl-steyr.ac.at <hpb@htl-steyr.ac.at>
To: Oliver Jowett <oliver@opencloud.com>
Cc: hpb@htl-steyr.ac.at <hpb@htl-steyr.ac.at>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: bug in getTime after insertRow with postgresql-8.1-404.jdbc3.jar
Date: Fri, 06 Jan 2006 02:50:52 +0100
Message-ID: <43BDCCFC.6050105@htl-steyr.ac.at> (raw)
In-Reply-To: <43BDBEF8.1000708@opencloud.com>
References: <43BD1383.8090702@htl-steyr.ac.at>
<43BDBEF8.1000708@opencloud.com>
The data is inserted in the database correctly!
I was thinking about a workaround by doing another select. I didn't I
posted in the newsgroup ;-)
hpb
Oliver Jowett schrieb:
> 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
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: hpb@htl-steyr.ac.at, oliver@opencloud.com
Subject: Re: bug in getTime after insertRow with postgresql-8.1-404.jdbc3.jar
In-Reply-To: <43BDCCFC.6050105@htl-steyr.ac.at>
References: <43BD1383.8090702@htl-steyr.ac.at> <43BDBEF8.1000708@opencloud.com> <43BDCCFC.6050105@htl-steyr.ac.at>
* 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