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

From Zak McGregor
Subject Re: Further getLastOID() woes
Date
Msg-id 20030901162815.4e29bb90.zak@mighty.co.za
Whole thread Raw
In response to Re: Further getLastOID() woes  (Kris Jurka <books@ejurka.com>)
Responses Re: Further getLastOID() woes
Re: Further getLastOID() woes
List pgsql-jdbc
On Mon, 1 Sep 2003 06:27:20 -0400 (EDT)
Kris Jurka <books@ejurka.com> wrote:

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

Thanks, but it isn't that. Anything else I can try?

[zak@zak celerity]$ javac -classpath .:jdbc7.1-1.2.jar DBase.java
DBase.java:81: cannot resolve symbol
symbol  : class AbstractJdbc2Statement
location: package postgresql
            return ((org.postgresql.AbstractJdbc2Statement)(stmt)).getLastOID()
;
                                   ^
1 error
[zak@zak celerity]$ javac -classpath .:jdbc7.1-1.2.jar DBase.java
DBase.java:81: cannot resolve symbol
symbol  : method getLastOID ()
location: class org.postgresql.Statement
            return ((org.postgresql.Statement)stmt).getLastOID();
                   ^
1 error
[zak@zak celerity]$ javac -classpath .:jdbc7.1-1.2.jar DBase.java
DBase.java:81: cannot resolve symbol
symbol  : class PGStatement
location: package postgresql
            return ((org.postgresql.PGStatement)stmt).getLastOID();
                                   ^
1 error
[zak@zak celerity]$ javac -classpath .:jdbc7.1-1.2.jar DBase.java
DBase.java:81: cannot resolve symbol
symbol  : method getLastOID ()
location: class org.postgresql.jdbc2.Statement
            return ((org.postgresql.jdbc2.Statement)stmt).getLastOID();
                   ^
1 error



--
========================================================================
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: "Juan Diego Hernandez Fonseca"
Date:
Subject: unsuscribe
Next
From: Dave Cramer
Date:
Subject: Re: Further getLastOID() woes