× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 8/30/07, MidRange <R_C_DUVALL@xxxxxxxxxx> wrote:
Hi Joe Pluta,

Wednesday, August 29, 2007, 6:47:42 PM, you wrote:

Hi Rick! The toolbox support two distinct styles of file access. The first
is the standard SQL-oriented access of JDBC, which allows you to create a
cursor and then move through it, but repositioning randomly (especially
based on key) is not particularly easy. You can't, for example, create a
result set starting at a given key value and then position yourself
BACKWARDS one record (along the lines of a SETGT, READP).

Well, that answers one of my questions... That was exactly what I
hoped to be able to do...;)

Wouldn't using ResultSet#previous() accomplish the same thing as a READP?
Though i'm really not sure why you would want to use this idiom in
sql. I think the
need for SETGT/READP arose from the inability to dynamically sort records
in RPG.

http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html#previous()

Carl.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.