my dog learned polymorphism
The moose likes JDBC and Relational Databases and the fly likes type 4 connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "type 4 connectivity" Watch "type 4 connectivity" New topic

type 4 connectivity

agarwal anshul

Joined: Aug 28, 2008
Posts: 1
i have a sql server driver but i am unable to connect with the the sql througn an exception that package isn not available
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Do you have the jar file containing the driver in the classpath when you run the code?

Post the complete stack trace.
I agree. Here's the link:
subject: type 4 connectivity
It's not a secret anymore!