public openConnection(url as String, properties as Map<String, String> = null) as Connection throws SQLException
Opens a connection using the supplied URL and properties.
Implementations should read credentials and driver-specific options from properties. The map may be null when no extra option is supplied.
import klyn.databases.sql
properties = Map<String, String>()
properties["user"] = "app"
connection = DriverManager.driverFor("odbc://app").openConnection("odbc://app", properties)
connection.close()An open SQL connection.