I am using the scalikejdbc library to access my Postgres database. The driver I am using is the default org.postgresql.Driver
. I am trying to introduce query/result caching but I cannot find any evidence whether scalalike does this by default or if it even supports this. I skimmed through the TypesafeConfigReader
class but could not find any configuration property indicative of such a functionality. My last resort would be to implement a simple application level cache but I want to know if this is supported somehow by default. In their official docs I could not find something definitive either.
Asked
Active
Viewed 49 times
0

Niko
- 616
- 4
- 20
1 Answers
0
The question was answered in the scalikejdbc issue tracker. So I'm quoting
There is no built-in query cache/result support at this moment. I would suggest using a different cache library such as https://github.com/cb372/scalacache to reduce method calls.

Niko
- 616
- 4
- 20