Re: Methode is not yet implemented. - Mailing list pgsql-jdbc

From Thomas O'Dowd
Subject Re: Methode is not yet implemented.
Date
Msg-id 20010717103919.A5321@beast.uwillsee.com
Whole thread Raw
In response to Methode is not yet implemented.  (Jörg Sommer <Joerg.Sommer@gmx.de>)
List 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 by date:

Previous
From: jason@netspade.com
Date:
Subject: Re: Connection.setCatalog()
Next
From: "Dave Cramer"
Date:
Subject: RE: [PATCH] setTimestamp(int, Timestamp) fails on null timestamp