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 booleanacceptsURL(String url)Connectionconnect(String Url, Properties suppliedProperties)static voidderegister()intgetMajorVersion()intgetMinorVersion()LoggergetParentLogger()DriverPropertyInfo[]getPropertyInfo(String Url, Properties Info)static booleanisRegistered()booleanjdbcCompliant()static voidregister()StringtoString()
-
-
-
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:
connectin interfaceDriver- Throws:
SQLServerException
-
acceptsURL
public boolean acceptsURL(String url) throws SQLServerException
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLServerException
-
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String Url, Properties Info) throws SQLServerException
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLServerException
-
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersionin interfaceDriver
-
getParentLogger
public Logger getParentLogger()
- Specified by:
getParentLoggerin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliantin interfaceDriver
-
-