File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Database program major issues. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Database program major issues." Watch "Database program major issues." New topic
Author

Database program major issues.

Peter Tyo
Greenhorn

Joined: Sep 16, 2007
Posts: 2
First below is the code.


I need to take the CIW database Certification. I ordered there self study kit that is way behind times. I had to download Java 1.3.1 and I can't even find the CloudScape v3.5.. I found a version 10 from IBM and have now idea what to do with it...

The code above will compile but when ran the output is simple..

COM.cloudscape.core.JDBCDriver


any ideas?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39551
    
  27
Welcome to JavaRanch.

I'm betting that the driver class is actually "com....", not "COM....".

And it should be "Class.forName(driver)", not "Class.forName(driver).newInstance()", although that most likely would not cause an exception.

If you want a full error message -including the line number of the line that caused it-, you can put "e.printStackTrace()" into the catch block.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database program major issues.
 
Similar Threads
JDBC and Cloudscape
Can't connect to Access database using Cloudscape
java jdbc
JDBC Driver error
Sockets