KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > internetcds > jdbc > tds > SybaseDriver


1 package com.internetcds.jdbc.tds;
2
3
4 import java.sql.*;
5 import java.util.*;
6 import com.internetcds.jdbc.tds.TdsException;
7
8
9
10 /**
11  * @deprecated This class is no longer needed. Use
12  * com.internetcds.jdbc.tds.Driver for either Sybase or SQLServer
13  * connections.
14  */

15 public class SybaseDriver extends Driver
16 {
17    public static final String JavaDoc cvsVersion = "$Id: SybaseDriver.java,v 1.1 2006/06/23 10:39:30 sinisa Exp $";
18    
19    
20    //
21
// Register ourselves with the DriverManager
22
//
23
static
24    {
25       try {
26          java.sql.DriverManager.registerDriver(new com.internetcds.jdbc.tds.Driver());
27       }
28       catch (SQLException E) {
29          E.printStackTrace();
30       }
31    }
32
33    /**
34     * @deprecated This class is no longer needed. Use
35     * com.internetcds.jdbc.tds.Driver for either Sybase or SQLServer
36     * connections.
37     */

38    public SybaseDriver()
39       throws java.sql.SQLException JavaDoc
40    {
41       super();
42    }
43 }
44
Popular Tags