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.

And it wouldn't work anyway to use A instead of N on the prototype. That would cause RPG to create the wrong signature for the method, using B (byte) instead of Z (boolean). You'd get a method-not-found error on the call.


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