Solved

Sun Database driver in JDK 1.2

Posted on 2000-03-30
2
368 Views
Last Modified: 2013-11-21
I'm trying to use Sun driver to connect to the Microsoft SQL Server 6.5 so my JavaServlet can display table info.
Which of the Jar files contain the actual Database drivers. I tried everything. I know I have to use a type4 driver to connect to MSQL 6.5, therefore my classpath should point to the Database driver in one of the Jar files in JDK 1.2? But which one. Has anyone tried to run a JavaServlet that connects to a MSQL Server 6.5 and was successful. Help.....Thanks.
0
Comment
Question by:7of9121098
2 Comments
 
LVL 8

Accepted Solution

by:
diakov earned 50 total points
ID: 2670996
There is no thin JDBC driver in the package. You can use the JDBCODBC driver in the package that is not thin. You have to make a data source on the local machine that points to the sql server database and use the datasorce from Java.
About the thin drivers:

Microsoft don't supply one. You can get 3rd party ones from a variety of vendors and some free open-source ones as well. It is difficult to recommend one, but WebLogic users seem to be generally happy. The full list that I know of are :-

1. WebLogic : http://weblogic.beasys.com and www.weblogic.com. (type 2, 3 or 4. SQL 6.5 and 7.0)

2. http:\\www.inetsoftware.de. JDBC Type 4 drivers for the Microsoft SQLServer 6.5 and 7.0. JDBC 1.22 driver to use with JDK 1.1x and a JDBC 2.0 driver (i-net Sprinta) to use with Java 2 (JKD 1.2x).

JDBC 1.22 : http://www.inetsoftware.de/English/produkte/jdbctreiber/Default.htm
JDBC 2.0 : http://www.inetsoftware.de/English/produkte/jdbc2/Default.htm.

3. www.openlinksw.com (www.openlinksw.co.uk)

4. http://beta.easysoft.com. JDBC/ODBC bridge (www.easysoft.com)

5. ftp://freetds.internetcds.com/pub/freetds_jdbc. Type 4 open-source driver that is designed to work with SQLServer and Sybase

6. http://java.sun.com/products/jdbc

7. http://lpv.home.texas.net (LpVodbc)

8. http://ourworld.compuserve.com/homepages/Ken_North/jdbcvend.htm


Cheers,
  Nik
0
 

Author Comment

by:7of9121098
ID: 2671037
Thanks your the Man.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb wildfly example 2 69
eclipse console opening separately 2 35
Java: The Public Class Main 4 43
How to log java errors in tomcat 8 23
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The viewer will learn how to implement Singleton Design Pattern in Java.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question