public class SqlServerDriver implements Driver:
Microsoft SQL Server driver entry point for klyn.databases.sql.
import klyn.databases.sql.sqlserver
# cnx = SqlServerDriver.connect("sqlserver://localhost:1433/app", "app", "secret")| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | namename as String: |
Human-readable driver name. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | SqlServerDriver | Creates the stateless SQL Server driver object. |
| Modifier and Type | Member | Description |
|---|---|---|
| public static | connectconnect(url as String,
user as String = "",
password as String = "",
properties as Map<String, String> = null,
sslContext as SSLContext = null) as SqlServerConnection throws Exception: |
Opens a SQL Server connection. |
| public | openConnectionopenConnection(url as String, properties as Map<String, String> = null) as Connection throws SQLException: |
Opens a SQL Server connection from URL and connection properties. |
| public | supports | Returns true for SQL Server connection URLs. |