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



Scott,

Program worked well thanks.



Regards,

Chamara Withanachchi
IBM Certified Power System Expert
RPG Programmer
(owner of www.rpgiv.info)

WWW.RPGIV.INFO
Mob: +971 50 5698644
Tel: +971 6 5595887
chamaraw@xxxxxxxxxx
www.rpgiv.info
i want to be future ready. i want control. i want an i.


Sent from my BlackBerry® wireless device

-----Original Message-----
From: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>

Date: Sun, 21 Jun 2009 02:02:04
To: RPG programming on the IBM i / System i<rpg400-l@xxxxxxxxxxxx>
Subject: Re: Scott's JDBC/RPG program


Chamara,

That's a very old version of the code. The most current version of the
code can be found here:
http://systeminetwork.com/article/jdbc-rpg-unicode-support

Though, the testMySql Java program hasn't changed, and isn't part of my
RPG service program. It's just a simple Java program that does a little
JDBC. I think I just included it as part of my introduction to what
JDBC was. It's not directly related to the RPG part of the code.

As for the error you're receiving.... I honestly have no idea. I use
JDBC to talk to MySQL daily, and I've never seen an error like that.
The message doesn't even make sense, it's talking about a method named
"valueOf" that's somewhere deep inside the Java getConnection()
routine... That stuff is all part of Java, I sure didn't provide it.

It's like your Java runtime has been messed up.



Chamara Withanachchi wrote:
Scott,
I have downloaded sample code (RPG and this particular Java source) from
http://systeminetwork.com/article/mysql-database-access-rpg (article ID -
54759).




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.