Re: Problem with PGStatement.getLastOID()

From: ListMan <listman(at)cybermaccara(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with PGStatement.getLastOID()
Date: 2003-12-02 03:04:46
Message-ID: 6.0.1.1.0.20031202050033.01c7da38@mail.cybermaccara.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

At 04:31 2.12.2003, Oliver Jowett wrote:
>1) Can you verify that the problematic bit of code is actually getting run
>when you test with the 7.3 drivers? Maybe they're causing different
>application behaviour for some reason, so the cast is never reached.
>
>2) What's the concrete class (via that System.println) of the Statement
>object when you use the 7.3 drivers?

Yes, on both points:

stmt.class: class org.postgresql.jdbc3.Jdbc3Statement
insertedoidbefore: -1
insertedoidafter: 424152

Only thing I changed was remove devel driver and copy 73 driver in place.

B Rgds,
JariP

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message pginfo 2003-12-02 06:05:32 Re: autocommit trouble with jdbc on Postgres 7.4
Previous Message ListMan 2003-12-02 02:20:45 Re: Problem with PGStatement.getLastOID()