Hmm...I guess this is a performance issue - beyond my depth . . .

If it's any help, I am currently working on a project that uses DB2 to MS SQL connections
and our performance is very satisfactory.

Also, I >think< I have seen some references that suggest a way to specify a result set which does
support forward/backward scrolling/positioning.

I do get several hits on "jdbc scrollable resultset" - below is one

http://www.jdbc-tutorial.com/jdbc-resultset.htm

hth


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of James H. H. Lampert
Sent: Monday, July 01, 2013 12:55 PM
To: Java Programming on and around the IBM i
Subject: Re: JDBC equivalent to RPG SETLL or CHAIN?

On 7/1/13 11:33 AM, Gary Thompson wrote:
I would use SQL SELECT maybe

Right. But if I use a SELECT to open up a new result set, starting at the specified key value, then (1) I'm opening up a new result set every time, and (2) I can't back up in that result set to (or open a new result set starting at) a point some specified number of rows before that specified key.

--
JHHL

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.




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-2022 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.