CSS font stacks & developer FAQs with Web standards
Site navigation below

One of hundreds of answers available with our premium content service.

Part answer

A: One of the great strengths of the JDBC API is that the Java code required to load and use a database driver from one vendor is the same as that for any other. The key differences between one vendor's driver and another will be the class name of the driver, and the JDBC URL used to identify it through the DriverManager class. Both of these variables should be set in the application's configuration properties rather than hard coded Java statements. Provided the necessary database driver class packages are available on the application's classpath, the runtime system will be able to load and the run the driver classes.

For Microsoft SQLServer, the database driver class name is com.microsoft.jdbc.sqlserver.SQLServerDriver, the connection URL has the following scheme:

… full answer hidden

Click for full answers

Premium members click below for full answer
How do I use JDBC with Microsoft SQLServer?

Home · Web fonts · Font stacks · FAQs · Java · CSS · Javascript · HTML · Site manager