Re: Trouble With JDBC

Поиск
Список
Период
Сортировка
От Michael Stephenson
Тема Re: Trouble With JDBC
Дата
Msg-id Pine.LNX.4.30.0102161832090.12739-100000@tirin.openworld.co.uk
обсуждение исходный текст
Ответ на Re: Trouble With JDBC  (Corey Mosher <corey@pgsql.com>)
Список 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 по дате отправления:

Предыдущее
От: Corey Mosher
Дата:
Сообщение: Re: Trouble With JDBC
Следующее
От: Bob Kline
Дата:
Сообщение: Re: Trouble With JDBC