Re: ResultSet performance question - Mailing list pgsql-jdbc

From Andres Ledesma
Subject Re: ResultSet performance question
Date
Msg-id 4948E79C.7050005@euskalnet.net
Whole thread Raw
In response to ResultSet performance question  (Craig Servin <cservin@cromagnon.com>)
List pgsql-jdbc
Hi Craig,

So, what I would do is :

1- create first a VIEW, to get the data out of the tables.
2- create a function that opens a CURSOR, based on the VIEW created in
the step 1, and returns it
3- In my Java code, via a CallableStatement, get returned data as a
ResultSet

That way you have some gains in time used parsing the query.

Regards,

Andrés




pgsql-jdbc by date:

Previous
From: Andres Ledesma
Date:
Subject: Re: ResultSet performance question
Next
From: JAlexoid
Date:
Subject: Re: ResultSet performance question