Re: Further getLastOID() woes

From: Kris Jurka <books(at)ejurka(dot)com>
To: Zak McGregor <zak(at)mighty(dot)co(dot)za>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Further getLastOID() woes
Date: 2003-09-01 10:27:20
Message-ID: Pine.LNX.4.33.0309010625480.27036-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2003-09-01 10:31:55 Re: SQL injection bug for null-terminated strings?
Previous Message Kris Jurka 2003-09-01 10:25:13 Re: A JDBC bug or problem relating to string length in Java