| Modifier and Type | Field and Description |
|---|---|
Flavor |
DatabaseProvider.Pool.flavor |
| Modifier and Type | Method and Description |
|---|---|
Flavor |
Database.flavor()
Access information about what kind of database we are dealing with.
|
Flavor |
Options.flavor()
Access compatibility information for the underlying database.
|
Flavor |
OptionsDefault.flavor() |
Flavor |
OptionsOverride.flavor() |
Flavor |
DatabaseImpl.flavor() |
static Flavor |
Flavor.fromJdbcUrl(String url) |
static Flavor |
Flavor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flavor[] |
Flavor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Schema.Table |
Schema.Table.customTableClause(Flavor flavor,
String clause) |
static DatabaseProvider.Builder |
DatabaseProvider.fromDriverManager(String url,
Flavor flavor)
Builder method to create and initialize an instance of this class using
the JDBC standard DriverManager method.
|
static DatabaseProvider.Builder |
DatabaseProvider.fromDriverManager(String url,
Flavor flavor,
Properties info)
Builder method to create and initialize an instance of this class using
the JDBC standard DriverManager method.
|
static DatabaseProvider.Builder |
DatabaseProvider.fromDriverManager(String url,
Flavor flavor,
String user,
String password)
Builder method to create and initialize an instance of this class using
the JDBC standard DriverManager method.
|
static DatabaseProvider.Builder |
DatabaseProvider.fromJndi(Context context,
String lookupKey,
Flavor flavor)
Builder method to create and initialize an instance of this class using
a JNDI resource.
|
String |
Schema.print(Flavor flavor) |
| Constructor and Description |
|---|
DatabaseImpl(DatabaseMock mock,
Flavor flavor) |
OptionsDefault(Flavor flavor) |
OptionsOverride(Flavor flavor)
Defer to OptionsDefault for anything that is not specified, using the specified flavor.
|
Pool(DataSource dataSource,
int size,
Flavor flavor,
Closeable poolShutdown) |
When(Flavor actualFlavor) |
Copyright © 2020. All rights reserved.