Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysql = {
- profile = "slick.jdbc.MySQLProfile$"
- dataSourceClass = "com.mysql.cj.jdbc.MysqlDataSource"
- driver = "com.mysql.cj.jdbc.Driver"
- url = "jdbc:mysql://localhost:3306/foo"
- user = "foo"
- password = "bar"
- properties {
- }
- numThreads = 4
- minConnections = 4
- maxConnections = 4
- registerMbeans = true
- connectionTimeout = 20000
- isolation = "READ_COMMITTED"
- poolName = "foo"
- readOnly = false
- }
- mysql = {
- profile = "slick.jdbc.MySQLProfile$"
- dataSourceClass = "com.mysql.cj.jdbc.MysqlDataSource"
- driver = "com.mysql.cj.jdbc.Driver"
- url = "jdbc:mysql://localhost:3306/foo"
- user = "foo"
- password = "bar"
- properties {
- prepStmtCacheSize = 20
- }
- numThreads = 4
- minConnections = 4
- maxConnections = 4
- registerMbeans = true
- connectionTimeout = 20000
- isolation = "READ_COMMITTED"
- poolName = "foo"
- readOnly = false
- }
- [error] (run-main-0) java.lang.RuntimeException: Property prepStmtCacheSize does not exist on target class com.mysql.cj.jdbc.MysqlDataSource
- [error] java.lang.RuntimeException: Property prepStmtCacheSize does not exist on target class com.mysql.cj.jdbc.MysqlDataSource
- [error] at com.zaxxer.hikari.util.PropertyElf.setProperty(PropertyElf.java:131)
- [error] at com.zaxxer.hikari.util.PropertyElf.lambda$setTargetFromProperties$0(PropertyElf.java:57)
Add Comment
Please, Sign In to add comment