Re: Further getLastOID() woes - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Further getLastOID() woes
Date
Msg-id Pine.LNX.4.33.0309010625480.27036-100000@leary.csoft.net
Whole thread Raw
In response to Further getLastOID() woes  (Zak McGregor <zak@mighty.co.za>)
Responses Re: Further getLastOID() woes  (Zak McGregor <zak@mighty.co.za>)
List pgsql-jdbc

On Mon, 1 Sep 2003, Zak McGregor wrote:

> Hi all
>
> I am trying to return the oid of the last inserted row, but nonoe of
> my casts are liked by the compiler. I hgave tried all the variations
> found on this list & I keep getting similar messages:
>
> DBase.java:81: cannot resolve symbol
> symbol  : class AbstractJdbc1Statement
> location: class celerity.DBase
>             return ((AbstractJdbc1Statement)(stmt)).getLastOID() ;
>

You must either import org.postgresql.jdbc1 or include the full
package/class name in your cast.

Kris Jurka


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: A JDBC bug or problem relating to string length in Java
Next
From: Kris Jurka
Date:
Subject: Re: SQL injection bug for null-terminated strings?