Re: strange problem - Mailing list pgsql-jdbc

From Andres Ledesma
Subject Re: strange problem
Date
Msg-id 200601260632.37789.aledes@euskalnet.net
Whole thread Raw
In response to strange problem  ("Gilbert, Antoine" <AGilbert@korem.com>)
List pgsql-jdbc
On Wednesday 25 January 2006 08:51 pm, Gilbert, Antoine wrote:
>
> Statement stmt = connection.createStatement();
>
> ResultSet rs =stmt.executeQuery("select street from \"QCs_polyline\"");
>
> stmt.close();
>
>
>
> This takes 19 sec. Does I am missing something like a configuration on
> the driver? So far I was just testing PostGIS/PostgreSQL with tiny
> tables.

Did you try to create a function in the database returning the rows you want
to fetch and to use CallableStatement ?

--

Andres Ledesma
=================

pgsql-jdbc by date:

Previous
From: David Hustace
Date:
Subject: Re: Socket read fails
Next
From: Dave Cramer
Date:
Subject: Re: Socket read fails