Re: scollable result sets

From: "Koth, Christian (DWBI)" <Christian(dot)Koth(at)smiths-heimann(dot)com>
To: <chambers(at)imageworks(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: scollable result sets
Date: 2006-09-06 07:39:39
Message-ID: F5F602C218633C419C7BCA6CDDC6E90A02653EA3@COSSMGMBX04.EMAIL.CORP.TLD
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Matt,
no they are not broken.
But AFAIK a ScrollableResultSet with Postgres JDBC supports forward only. Try again with different settings and of course don't call previous().
If you need scroll back functionality you could use cursors.
Christian

________________________________

Von: pgsql-jdbc-owner(at)postgresql(dot)org [mailto:pgsql-jdbc-owner(at)postgresql(dot)org] Im Auftrag von Matt Chambers
Gesendet: Dienstag, 5. September 2006 23:16
An: pgsql-jdbc(at)postgresql(dot)org
Betreff: [JDBC] scollable result sets

Are they broken in 8.1? I no matter what I do Postgresl throws an exception with calls to functions like previous() and last().
x_conn.prepareCall ( os_query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY );

--

Matt Chambers <chambers(at)imageworks(dot)com> <mailto:chambers(at)imageworks(dot)com>
Sony Pictures Imageworks
Software Engineer

</table> </Pre>
<HTML>
<br>
<br>
************************************************<br>
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.<br>
************************************************<br>
</HTML>

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Gagnon 2006-09-06 14:00:26 upgrade problem with driver postgresql-8.1-407.jdbc3.jar
Previous Message Matt Chambers 2006-09-05 21:16:30 scollable result sets