public class ConnectionProviderBuilder extends Object implements DialectCheck
Modifier and Type | Field and Description |
---|---|
static String |
DRIVER |
static String |
PASS |
static String |
URL |
static String |
USER |
Constructor and Description |
---|
ConnectionProviderBuilder() |
Modifier and Type | Method and Description |
---|---|
static DriverManagerConnectionProviderImpl |
buildConnectionProvider() |
static DriverManagerConnectionProviderImpl |
buildConnectionProvider(boolean allowAggressiveRelease) |
static DriverManagerConnectionProviderImpl |
buildConnectionProvider(String dbName) |
static Properties |
getConnectionProviderProperties() |
static Properties |
getConnectionProviderProperties(String dbName) |
static Dialect |
getCorrespondingDialect() |
boolean |
isMatch(Dialect dialect)
Does the given dialect match the defined check?
|
public static final String DRIVER
public static final String URL
public static final String USER
public static final String PASS
public static Properties getConnectionProviderProperties(String dbName)
public static Properties getConnectionProviderProperties()
public static DriverManagerConnectionProviderImpl buildConnectionProvider()
public static DriverManagerConnectionProviderImpl buildConnectionProvider(String dbName)
public static DriverManagerConnectionProviderImpl buildConnectionProvider(boolean allowAggressiveRelease)
public static Dialect getCorrespondingDialect()
public boolean isMatch(Dialect dialect)
DialectCheck
isMatch
in interface DialectCheck
dialect
- The dialect against which to checktrue
if it matches; false
otherwise.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.