Skip to content

Commit

Permalink
updated hikari example
Browse files Browse the repository at this point in the history
  • Loading branch information
tpolecat committed Mar 14, 2015
1 parent 348211f commit 1631dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/main/tut/12-Managing-Connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import doobie.contrib.hikari.hikaritransactor._
val q = sql"select 42".query[Int].unique
val p: Task[Int] = for {
xa <- HikariTransactor[Task]("jdbc:postgresql:world", "postgres", "")
xa <- HikariTransactor[Task]("org.postgresql.Driver", "jdbc:postgresql:world", "postgres", "")
a <- q.transact(xa) ensuring xa.shutdown
} yield a
```
Expand Down

0 comments on commit 1631dd4

Please sign in to comment.