×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) 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-2026 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.