jQuery in Action, 2nd edition*
The moose likes JDBC and the fly likes type 4 connectivity 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 "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 server.it througn an exception that com.microsoft.jdbc.util package isn not available
Ulf Dittmer

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

Post the complete stack trace.

Ping & DNS - my free Android networking tools app
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: type 4 connectivity
Similar Threads
Bulk data through JDBC
Log4j.properties ?
SQL command to show tables
Connect to db, simple question !!
Having trouble with SELECT statement is JSP