Package com.microsoft.sqlserver.jdbc
Class SQLServerDriver
- java.lang.Object
-
- com.microsoft.sqlserver.jdbc.SQLServerDriver
-
-
Constructor Summary
Constructors Constructor Description SQLServerDriver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsURL(String url)
Connection
connect(String Url, Properties suppliedProperties)
static void
deregister()
int
getMajorVersion()
int
getMinorVersion()
Logger
getParentLogger()
DriverPropertyInfo[]
getPropertyInfo(String Url, Properties Info)
static boolean
isRegistered()
boolean
jdbcCompliant()
static void
register()
String
toString()
-
-
-
Method Detail
-
register
public static void register() throws SQLException
- Throws:
SQLException
-
deregister
public static void deregister() throws SQLException
- Throws:
SQLException
-
isRegistered
public static boolean isRegistered()
-
connect
public Connection connect(String Url, Properties suppliedProperties) throws SQLServerException
- Specified by:
connect
in interfaceDriver
- Throws:
SQLServerException
-
acceptsURL
public boolean acceptsURL(String url) throws SQLServerException
- Specified by:
acceptsURL
in interfaceDriver
- Throws:
SQLServerException
-
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String Url, Properties Info) throws SQLServerException
- Specified by:
getPropertyInfo
in interfaceDriver
- Throws:
SQLServerException
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interfaceDriver
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interfaceDriver
-
getParentLogger
public Logger getParentLogger()
- Specified by:
getParentLogger
in interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant
in interfaceDriver
-
-