Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exceptionOverrideClassName config for HikariCP #2621

Merged
merged 1 commit into from Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -44,6 +44,7 @@ object HikariCPJdbcDataSource extends JdbcDataSourceFactory {

// Frequently used pool configuration
c.getBooleanOpt("autoCommit").foreach(hconf.setAutoCommit)
c.getStringOpt("exceptionOverrideClassName").foreach(hconf.setExceptionOverrideClassName)

val numThreads = c.getIntOr("numThreads", 20)

Expand Down
1 change: 1 addition & 0 deletions slick/src/main/scala/slick/jdbc/JdbcBackend.scala
Expand Up @@ -266,6 +266,7 @@ trait JdbcBackend extends RelationalBackend {
* connection leak. A value of 0 means leak detection is disabled. Lowest acceptable value
* for enabling leak detection is 10s.</li>
* <li>`schema` (String, optional): Default catalog for new connections.</li>
* <li>`exceptionOverrideClassName` (String, optional): SQLExceptionOverride class name</li>
* </ul>
* </li>
* <li>Driver or DataSource configuration:
Expand Down