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



Hi Alan,

These "types" are just numbers (named constants) that the Java routine uses to understand the data type. You can get a list of the numbers (for the various Java types) at the following link:

http://tinyurl.com/3cv7v3


Alan Campin wrote:
Scott Klement has just extended his JDBC service program to add support
for calling stored procedures.
One of the procedures is JDBC_RegisterOutParameter which takes a value
of the type of the parameter.
JDBC_RegisterOutParameter(wCallStatement:1:?);

In Java, these parameters are defined as constants as java.sql.Types but
what would the values be in RPG? I can't find online anywhere where it
lists the values are.

In Java, this would be
RegisterOutParameter(stmt:1:java.sql.Types.Integer)


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.