Re: Problem with PGStatement.getLastOID() - Mailing list pgsql-jdbc

From ListMan
Subject Re: Problem with PGStatement.getLastOID()
Date
Msg-id 6.0.1.1.0.20031202050033.01c7da38@mail.cybermaccara.com
Whole thread Raw
In response to Problem with PGStatement.getLastOID()  (ListMan <listman@cybermaccara.com>)
List 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


pgsql-jdbc by date:

Previous
From: ListMan
Date:
Subject: Re: Problem with PGStatement.getLastOID()
Next
From: Oliver Jowett
Date:
Subject: patch: PSQLException cleanups & exception chaining