Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val dataSource = HikariDataSource(HikariConfig(Properties().apply {
- setProperty("jdbcUrl", "jdbc:mysql://localhost/rcs_parsing_challenge")
- setProperty("dataSource.user", "root")
- setProperty("dataSource.password", "password")
- put("dataSource.cachePrepStmts", true)
- put("dataSource.useServerPrepStmts", true)
- put("dataSource.rewriteBatchedStatements", true)
- put("maximumPoolSize", 21)
- put("idleTimeout", 30000)
- put("autoCommit", false)
- }))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement