Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0C5099FB54B for ; Sat, 7 Jul 2007 11:43:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 41509-06 for ; Sat, 7 Jul 2007 11:42:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id F177C9FB33D for ; Sat, 7 Jul 2007 11:42:57 -0300 (ADT) Received: (qmail 1436 invoked by uid 1112); 7 Jul 2007 14:42:56 -0000 Date: Sat, 7 Jul 2007 10:42:56 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Clemens Eisserer cc: pgsql-jdbc@postgresql.org Subject: Re: Which Resultset types are supported "nativly"? In-Reply-To: <194f62550707070139p5ab62166o3fa9f2ba88eed6c7@mail.gmail.com> Message-ID: References: <194f62550707070139p5ab62166o3fa9f2ba88eed6c7@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/29 X-Sequence-Number: 17203 On Sat, 7 Jul 2007, Clemens Eisserer wrote: > Currently I am writing a frontend for a postgres database using a > framework which relies on ResultSets of this type: > > rs.setType(ResultSet.TYPE_SCROLL_INSENSITIVE); > rs.setConcurrency(ResultSet.CONCUR_UPDATABLE); > Currently scroll sensitive result sets are unimplmeneted and are silently remapped to insensitive results. > Some time ago there was a discussion that with some options the > postgres-jdbc driver would always send all results to the client, > because some scolling-operations are not supported in the server. > The documentation describes the requirements for the driver not to request all results at once: http://jdbc.postgresql.org/documentation/82/query.html#query-with-cursor Kris Jurka