Further getLastOID() woes - Mailing list pgsql-jdbc

From Zak McGregor
Subject Further getLastOID() woes
Date
Msg-id 20030901112411.429483cb.zak@mighty.co.za
Whole thread Raw
Responses Re: Further getLastOID() woes  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
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() ;


Any thoughts please? The jdbc version is postgresql-jdbc-7.2-12.2mdk


Thanks


ciao

Zak
--
========================================================================
http://www.carfolio.com/        Searchable database of 10 000+ car specs
Auctioning motoring-related items at eBay? http://www.carfolio.com/ebay/
========================================================================

pgsql-jdbc by date:

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