|
|||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||
See:
Description
| Function Summary | ||
|---|---|---|
fun |
getConnection(url: String): Connection
create connection for the specified jdbc url with no credentials |
|
fun |
getConnection(url: String, info: Map<String, String>): Connection
create connection for the specified jdbc url and properties |
|
fun |
getConnection(url: String, user: String, password: String): Connection
create connection for the specified jdbc url and credentials |
|
|
useSql(block: (S) -> T): T
Uses the statement with the given block then closes the statement |
|
| Function Detail |
|---|
fun getConnection(url: String): Connection
create connection for the specified jdbc url with no credentials
fun getConnection(url: String, info: Map<String, String>): Connection
create connection for the specified jdbc url and properties
fun getConnection(url: String, user: String, password: String): Connection
create connection for the specified jdbc url and credentials
fun <T, S> S.useSql(block: (S) -> T): T
Uses the statement with the given block then closes the statement
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||