fix HikariCP example
This commit is contained in:
parent
68cff61e94
commit
0bdffbc87f
1 changed files with 1 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ In addition, for HikariCP, you can specify properties to be applied to the under
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
;; assumes next.jdbc.connection has been required as connection
|
;; assumes next.jdbc.connection has been required as connection
|
||||||
(connection/->pool com.zaxxer.hikari.HikariConfig
|
(connection/->pool com.zaxxer.hikari.HikariDataSource
|
||||||
{:dbtype "postgres" :dbname "thedb" :username "dbuser" :password "secret"
|
{:dbtype "postgres" :dbname "thedb" :username "dbuser" :password "secret"
|
||||||
:dataSourceProperties {:socketTimeout 30}})
|
:dataSourceProperties {:socketTimeout 30}})
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue