× 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 3/25/13 2:29 PM, Barbara Morris wrote:
On 3/25/2013 1:31 PM, Dan Kimmel wrote:
Yes, jdbc_freeResult(rs) will throw a null-pointer exception if rs is null.

The code looks pretty good, syntax-wise.

dbmd must be a reference to a java object derived from aConnection.getMetaData().

unique and approximate are going to have to be hex '01' or hex '00'. 1N is an indicator type. In RPG an indicator is either hex 'F1' or hex 'F0'.


If you code the parameters as 1N, RPG will take care of the conversion
between RPG indicators and Java booleans.

Turned out to be something stupid.

This morning, I determined that when I'd changed the boolean parameters to pass-by-value, I hadn't changed all the references to them, and was getting pointer errors stopping the Java calls.

Then other things hit the proverbial fan, and I didn't get back to the project until just now, when I added some code to check that I was actually getting the data.

It all works just fine, now. Everything's perfectly all right now. We're fine. We're all fine here now, thank you. How are you?

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.