DriverManager
classin packageklyn.databases.sql
public class DriverManager:
Driver-manager facade inspired by `java.sql.DriverManager`.
Driver discovery and registration are intentionally not implemented yet on
this branch. The class exists to define the public API and central options.
import klyn.databases.sql
DriverManager.loginTimeoutSeconds = 15
Fields
| Modifier and Type |
Member |
Description |
| public static |
getConnection(url |
JDBC-style entry point. |
| public static |
loginTimeoutSecondsloginTimeoutSeconds as Int = 0 |
Login timeout applied by future driver resolution. |
Methods
| Modifier and Type |
Member |
Description |
| public static defaultProperties as |
Map |
Global arbitrary connection properties. |
| public static |
connect |
Opens a connection from a URL and optional properties. |