Re: Methode is not yet implemented.

Поиск
Список
Период
Сортировка
От Thomas O'Dowd
Тема Re: Methode is not yet implemented.
Дата
Msg-id 20010717103919.A5321@beast.uwillsee.com
обсуждение исходный текст
Ответ на Methode is not yet implemented.  (Jörg Sommer <Joerg.Sommer@gmx.de>)
Список pgsql-jdbc
On Wed, Jul 11, 2001 at 08:43:51PM +0100, Jörg Sommer wrote:
> Hello!
>
> If I send a SELECT query to PostgreSQL from a JDBC connection of my
> programm about a lokal network I get this message:
> "This methode is not yet implemented."
>
> The SELECT query is very simple: SELECT * FROM <table>;
>
> I use S.u.S.E. 7.2. The driver and the PostgreSQL files are from this
> distribution.
>
> I can't believe that there is a "stable" driver that can't query simple
> SELECT...

We can't believe it either.

Send a java code segment. You're probably doing something wrong. It should
be something like...

    ...
    java.sql.Statement stmt = con.createStatement();
    java.sql.ResultSet rs = stmt.executeQuery("SELECT * from <table>");
    ...

Where con is an open connection to your database.

Also, try grabbing a driver from: http://jdbc.fastcrypt.com/

Cheers,

Tom.
--
Thomas O'Dowd. - Nooping - http://nooper.com
tom@nooper.com - Testing - http://nooper.co.jp/labs

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: jason@netspade.com
Дата:
Сообщение: Re: Connection.setCatalog()
Следующее
От: "Dave Cramer"
Дата:
Сообщение: RE: [PATCH] setTimestamp(int, Timestamp) fails on null timestamp