Further getLastOID() woes

From: Zak McGregor <zak(at)mighty(dot)co(dot)za>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Further getLastOID() woes
Date: 2003-09-01 09:24:11
Message-ID: 20030901112411.429483cb.zak@mighty.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/
========================================================================

Responses

Browse pgsql-jdbc by date

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