Re: Further getLastOID() woes

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Zak McGregor <zak(at)mighty(dot)co(dot)za>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Further getLastOID() woes
Date: 2003-09-01 15:02:39
Message-ID: 1062428559.1600.203.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Zak,

I'm not sure a 7.1 jar had those classes in them, what does jar -tvf
jdbc7.1.1.2 say?

also why not upgrade, there have been lots of bugs fixed in the
meantime.

Dave
On Mon, 2003-09-01 at 10:28, Zak McGregor wrote:
> On Mon, 1 Sep 2003 06:27:20 -0400 (EDT)
> Kris Jurka <books(at)ejurka(dot)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(at)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(at)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(at)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(at)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/
> ========================================================================
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Thomas 2003-09-01 15:05:13 Re: Further getLastOID() woes
Previous Message Zak McGregor 2003-09-01 14:28:15 Re: Further getLastOID() woes