| Parameters |
poolName -
Name of connection pool, may contain database catalog autoCommit - auto commit readOnly - read only |
| Returns | Acquired connection |
| Throws |
AcquireError -
If connection could not be retrieved SQLError - If SQL error occured |
Connection.close method since connections
returned are not pooled.
| Throws |
SQLError -
If SQL error occured |
"mypool:mycatalog".
'querystring' is parsed so that given parameters are embedded to placeholders in string.
Placeholders:? Embeds next parameter according to its type (i.e. strings are escaped and quoted)
$ Embeds next parameter as it is (result of tostring())
| Parameters |
poolName -
Name of connection pool, may contain database catalog querystring - query string parameters - to be embedded |
| Returns | null if error occurred, ResultSet
if 'querystring' was an select query (or similar),
otherwise returns update count as integer. |
| Throws |
AcquireError -
If connection could not be retrieved SQLError - If SQL error occured |