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


  • Subject: RE: AS/400 ToolBox JDBC 2.0 using scrolling a ResultSet
  • From: Pluta@xxxxxxxxxxxxxxxxxx
  • Date: Wed, 5 Apr 2000 11:15:55 -0500



"
(...)
(concise yet detailed explanation of how to make a ResultSet updateable)
(...)

The ResultSet will be updateable."

------------

Now, Clif, what happens if you change a field that would have caused the
ResultSet's order to change?  Say there's an ORDER BY in the list... does
that record just sort of stay there?  Similarly with a WHERE clause... if
you change a record so that it no longer fulfills the WHERE clause, does it
stay there too?  In fact, I'd guess the ResultSet is oblivious to changes
made by other jobs as well; that is, additions and deletions by other
programs can't be seen without re-creating the ResultSet - in that manner,
the ResultSet acts like an OPNQRYF.

I'm guessing the answer to all the above questions is "yes", but it would
be nice to know.

As many people know, I'm not a big fan of updating via SQL (except maybe
for big "UPDATE ... WHERE" type jobs), so I don't know much about it, and
I'm just learning about scrolling ResultSets.


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.