public final class HikariConnectionProviderConfigHelper extends Object
DelegatingHikariConnectionProvider
.
This is a stop-gap measure until HikariCp is chosen as the default connection provider for Confluence, and allows
a Confluence instance that has already been previously configured to use c3p0 to instead use Hikari, without
requiring alteration of the confluence.cfg.xml file.Constructor and Description |
---|
HikariConnectionProviderConfigHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isHikariCpEnabled() |
static void |
populateHikariCpHibernateProperties(Properties props)
Populate the given
Properties with Hibernate connection properties accordingly. |
public HikariConnectionProviderConfigHelper()
public static boolean isHikariCpEnabled()
public static void populateHikariCpHibernateProperties(Properties props)
Properties
with Hibernate connection properties accordingly. Some properties will be
copied from the equivalent C3P0 properties that are already present, unless the appropriate HikariCp properties
are already present.Copyright © 2003–2021 Atlassian. All rights reserved.