Package COM.ibm.db2.jdbc.app not found in import ? 
Author Message
 Package COM.ibm.db2.jdbc.app not found in import ?

Hi:

Thanks for the help about where to find java sample of store procedures.
I am trying to understand how "DB2stp.java" (provided by IBM) works.

I copied the file "DB2stp.java" from D:\SQLLIB\SAMPLES\JAVA to my own
directory e:\db2

then when I tried to compile and it game me the following error:
-------------------
D:\SQLLIB\java\jdk\bin>javac e:\db2\DB2stp.java
e:\db2\DB2stp.java:45: Package COM.ibm.db2.jdbc.app not found in import.
import COM.ibm.db2.jdbc.app.*;  // DB2 UDB JDBC classes
       ^
e:\db2\DB2stp.java:46: Package COM.ibm.db2.app not found in import.
import COM.ibm.db2.app.*;       // StoredProc and associated classes
       ^
e:\db2\DB2stp.java:51: Superclass StoredProc of class DB2Stp not found.
class DB2Stp extends StoredProc
                     ^
3 errors
----------------------

My question is where are "Package COM.ibm.db2.jdbc.app" and "Superclass
StoredProc" located. Do I have to download them from somewhere? and
move them to somewhere? I only installed DB2 UDB6.1 client software on
my NT.

Thanks for your help.

Guang

Sent via Deja.com http://www.***.com/
Before you buy.



Sat, 24 Aug 2002 03:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. Differences between COM.ibm.db2.jdbc.app.DB2Driver and COM.ibm.db2.jdbc.net.DB2Driver

2. COM.ibm.db2.jdbc.app/net.DB2Driver and AIX UDB connectivity from win95 PC

3. db2java.zip crash on OS/2 (COM.ibm.db2.jdbc.app.DB2Driver)

4. can't initialize: COM.ibm.db2.jdbc.app.DB2Driver

5. COM.ibm.db2.jdbc.app.DB2Driver parameters

6. documentation on COM.ibm.db2.jdbc package

7. Problems with COM.ibm.db2.app.DB2Driver

8. COM.ibm.db2.jdbc.appDB2Exception

9. COM.ibm.db2.jdbc.DB2XADataSource

10. COM.ibm.db2.jdbc.net.DB2Driver ?????

11. COM.ibm.db2.jdbc.Exception SQL1040N

12. maintainer of com.ibm.db2.jdbc.net ?


 
Powered by phpBB® Forum Software