Guest User

Untitled

a guest
Apr 25th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. mysql = {
  2. profile = "slick.jdbc.MySQLProfile$"
  3. dataSourceClass = "com.mysql.cj.jdbc.MysqlDataSource"
  4. driver = "com.mysql.cj.jdbc.Driver"
  5. url = "jdbc:mysql://localhost:3306/foo"
  6. user = "foo"
  7. password = "bar"
  8. properties {
  9. }
  10. numThreads = 4
  11. minConnections = 4
  12. maxConnections = 4
  13. registerMbeans = true
  14. connectionTimeout = 20000
  15. isolation = "READ_COMMITTED"
  16. poolName = "foo"
  17. readOnly = false
  18. }
  19.  
  20. mysql = {
  21. profile = "slick.jdbc.MySQLProfile$"
  22. dataSourceClass = "com.mysql.cj.jdbc.MysqlDataSource"
  23. driver = "com.mysql.cj.jdbc.Driver"
  24. url = "jdbc:mysql://localhost:3306/foo"
  25. user = "foo"
  26. password = "bar"
  27. properties {
  28. prepStmtCacheSize = 20
  29. }
  30. numThreads = 4
  31. minConnections = 4
  32. maxConnections = 4
  33. registerMbeans = true
  34. connectionTimeout = 20000
  35. isolation = "READ_COMMITTED"
  36. poolName = "foo"
  37. readOnly = false
  38. }
  39.  
  40. [error] (run-main-0) java.lang.RuntimeException: Property prepStmtCacheSize does not exist on target class com.mysql.cj.jdbc.MysqlDataSource
  41. [error] java.lang.RuntimeException: Property prepStmtCacheSize does not exist on target class com.mysql.cj.jdbc.MysqlDataSource
  42. [error] at com.zaxxer.hikari.util.PropertyElf.setProperty(PropertyElf.java:131)
  43. [error] at com.zaxxer.hikari.util.PropertyElf.lambda$setTargetFromProperties$0(PropertyElf.java:57)
Add Comment
Please, Sign In to add comment