Scala connection pool library?

后端 未结 3 856
感情败类
感情败类 2021-01-13 02:46

I\'m trying to use Squeryl in a new Scala project. This is my first project in Scala, so I\'m looking for a good Scala library to handle connection pooling. Of course I migh

相关标签:
3条回答
  • 2021-01-13 02:59

    I wrote a blog post about db connection pooling with slick you may find useful:

    http://fernandezpablo85.github.io/2013/04/07/slick_connection_pooling.html

    0 讨论(0)
  • 2021-01-13 03:10

    I know this is an old post, but to keep the answer current, if you need a connection pool and you're writing an application that runs on the JVM, I suggest HikariCP.

    0 讨论(0)
  • 2021-01-13 03:13

    I've used C3P0 in production for many years, always been rock solid for me. Watch out with your DB driver tho, they can be very flaky.

    0 讨论(0)
提交回复
热议问题