Re: Server side resultset search (for performance reasons)

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: David Wall <d(dot)wall(at)computer(dot)org>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Server side resultset search (for performance reasons)
Date: 2003-08-04 16:14:53
Message-ID: Pine.LNX.4.33.0308041013430.10401-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, 4 Aug 2003, David Wall wrote:

> > I'm surprised no one has yet suggested using a cursor.
>
> Some people don't use cursors because creating and using them requires
> db-specific code inside their otherwise vanilla JDBC. Of course, using
> LIMIT/OFFSET is also db-specific...

Actually, cursors are sql spec, i.e. any SQL92 database that supports
transactions likely supports cursors, at least static ones.

limit/offset, like you mention, are not spec in sql 92. They looked like
they might have been considered, as they are in the older versions listed
as reserved keywords though.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Lufkin, Brad 2003-08-04 17:55:45 JDBC
Previous Message David Wall 2003-08-04 15:40:41 Re: Server side resultset search (for performance reasons)