Advertisement
Guest User

Untitled

a guest
Mar 7th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. val dataSource = HikariDataSource(HikariConfig(Properties().apply {
  2. setProperty("jdbcUrl", "jdbc:mysql://localhost/rcs_parsing_challenge")
  3. setProperty("dataSource.user", "root")
  4. setProperty("dataSource.password", "password")
  5. put("dataSource.cachePrepStmts", true)
  6. put("dataSource.useServerPrepStmts", true)
  7. put("dataSource.rewriteBatchedStatements", true)
  8. put("maximumPoolSize", 21)
  9. put("idleTimeout", 30000)
  10. put("autoCommit", false)
  11. }))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement