Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sql Server 2000 - JDBC Pooling problem

843854Feb 21 2002 — edited Feb 22 2002
I am trying Pooling tutorial example with sql server 2000
my code is below.Jbuilder4 is used.
//
try{
jdc = new JDCConnectionDriver("Sun.jdbc.odbc.JdbcOdbcDriver",
"JDBC:ODBC:virbank","sa","");
// to be done dynamic
}catch(Exception ex)
{
System.out.println("Error here");
System.err.println("SQLException: " + ex.getMessage());
return ex.toString();
}
//
ClassNotFoundException: myDriver.ClassName

SQLException: No suitable driver

SQLState: 08001

Message: No suitable driver

Vendor: 0

Please help what could have gone wrong.
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2002
Added on Feb 21 2002
5 comments
145 views