Re: Trouble With JDBC - Mailing list pgsql-jdbc

From Michael Stephenson
Subject Re: Trouble With JDBC
Date
Msg-id Pine.LNX.4.30.0102161832090.12739-100000@tirin.openworld.co.uk
Whole thread Raw
In response to Re: Trouble With JDBC  (Corey Mosher <corey@pgsql.com>)
List pgsql-jdbc
> Located at: http://www.postgresql.org/docs/aw_pgsql_book/node192.html
>
> I wanted to use some code that I knew worked to overcome problems
> like I am having.

There is nothing wrong with the code, to run it you'll need lines similar
to:

mstephen@sokoki:~$ export CLASSPATH=/home/mstephen/local/postgresql.jar:.
mstephen@sokoki:~$ javac sample.java
mstephen@sokoki:~$ java sample

If these simple steps are not working for you then something very strange
is going on.

If the code is compiling then it is not a postgres or jdbc problem, but a
problem with your VM, and I don't think this is the best place to find a
solution.

If it isn't compiling then get a new (as in, not broken, as opposed to
recent, there is no code in sample which should not work in any version
of the jdbc driver) postgres jar file and try again.

Michael Stephenson      mstephenson@openworld.co.uk
Developer   -    Web Applications    -   Open World
Tel: +44 1225 444 950         Fax: +44 1225 336 738


pgsql-jdbc by date:

Previous
From: Corey Mosher
Date:
Subject: Re: Trouble With JDBC
Next
From: Bob Kline
Date:
Subject: Re: Trouble With JDBC