You could code the "getColumn()" method to always return a Java
String. Then in the RPG program, convert the string to a RPG datatype.

HTH,
Sarah Poger Gladstone


On 12/30/05, Lim Hock-Chai <Lim.Hock-Chai@xxxxxxxxxxxxxxx> wrote:
> - My plan is to create a java class as mentioned in the original thread.
> - I'll then create a RPG service program with all the necessary export
> procedures to access all those java methods.  This will hide the complex
> coding needed to call java method.
>
> ***
> The biggest concern is column mapping.  I have no clue as how to create
> a generic getColumn() that convert the coulmn data into a RPG variable.
>
>
>
> -----Original Message-----
> From: java400-l-bounces@xxxxxxxxxxxx
> [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
> Sent: Friday, December 30, 2005 10:55 AM
> To: Java Programming on and around the iSeries / AS400
>
> Another possibility ... and I have *ZERO* idea how hard this would be to
> implement .. would be to try and do the JDBC request to the other
> database directly from RPG using prototyped java calls.
>
> Just a thought.
>
> david
>
> --
> This is the Java Programming on and around the iSeries / AS400
> (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.
>
>
> --
> This is the Java Programming on and around the iSeries / AS400 (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-2021 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.