my dog learned polymorphism*
The moose likes JDBC and the fly likes connect to db2 8 error using JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connect to db2 8 error using JDBC" Watch "connect to db2 8 error using JDBC" New topic

connect to db2 8 error using JDBC

hu jingxuan

Joined: Aug 18, 2003
Posts: 2
my code is
Class.forName( "" );
Connection cn = DriverManager.getConnection("jdbc b2://victor:50000/TOOLSDB","db2admin","db2admin");
the warning is encoding not supported!!
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at myprojects.dbcon.DbCon.connection1(
at myprojects.dbcon.DbCon.main(
The db2's version is Chinese Version.
Don't get me started about those stupid light bulbs.
subject: connect to db2 8 error using JDBC
Similar Threads
java.sql.SQLException: No suitable driver
DB2 connection error
java DB2 program
Problem in JDBC connection in Websphere 3.5.0
java.sql.SQLException: No suitable driver