Re: Problems with getLastOID

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: first last <prelude_2_murder(at)yahoo(dot)co(dot)uk>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Problems with getLastOID
Date: 2003-02-20 15:45:04
Message-ID: 1045755903.1129.75.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Gabriel,

Please not that my reference was to getLastOID(), not getInsertedOID()

Dave
On Thu, 2003-02-20 at 09:28, first last wrote:
> I have tried and now it can't find
> org.postgresql.AbstractJdbc1Statement (I tried that one before but I
> forgot to specify the whole path of the class).
>
> basic.java:90: cannot resolve symbol
> symbol: class AbstractJdbc1Statement
> location: package postgresql
> long insertedOID =
> ((org.postgresql.AbstractJdbc1Statement)st).getInsertedOID();
>
> some more information I forgot before, my CLASSPATH is
>
> /usr/local/tomcat/common/lib/servlet.jar
> :/usr/local/tomcat/shared/classes
> :/usr/local/tomcat/server/lib/pg73jdbc3.jar
> :.
>
> I have also tried with the pg72jdbc2.jar driver and both give me the
> same error.
>
> JAVA_HOME=/usr/local/java (which links to /usr/local/j2sdk1.4.1). I
> also have
> CATALINA_HOME as I am using tomcat (that's why the jdbc jar is in that
> directory).
>
> Any more ideas?
>
> Thanks
>
> Gabriel
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Csaba Nagy 2003-02-20 15:47:22 Re: ANY subquery and PreparedStatements
Previous Message Anders Hermansen 2003-02-20 14:58:45 Re: Problems with getLastOID