• Subject: Re: JDBC problem
  • From: dawall@xxxxxxxxxx
  • Date: Wed, 15 Mar 2000 22:54:07 -0600

You need a JDBC driver to facilitate moving data between your Java program
and the database.  The AS/400's JVM comes with a JDBC driver which handles
the case of when you are on the AS/400.  When on a client, you need a
client/server type JDBC driver.  A client/server JDBC driver comes with the
AS/400 Toolbox for Java.  Check out and download the Toolbox at
http://www.ibm.com/as400/toolbox.  If your applet will be downloaded from a
server, make sure you use Toolbox JarMaker to reduce the size of the
Toolbox .jar file.  If the jar is still too big, check out the Toolbox
proxy support that is in the current beta.

David Wall
AS/400 Toolbox for Java


Raghavendra Rao <raghavendra_rao@yahoo.com> on 03/14/2000 03:10:12 AM

Please respond to JAVA400-L@midrange.com

To:   JAVA400-L@midrange.com
cc:
Subject:  JDBC problem




Hello all,
I've written a JVA pgm which does a SQL query and
fetcehs data on the QSH screen, but when I try to put
the same thing on an applet LIST, it does not connect
to the 400, I tried changeing
c = DriverManager.getConnection("jdbc:db2:*local");
to
 c =
DriverManager.getConnection("jdbc:db2:"SYSTEM_NAME");
still doesnt work.
any suggestions !!!!
Thanks in advance,
Rao
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.