| Modifier and Type | Method and Description |
|---|---|
DatabaseProviderVertx.Builder |
DatabaseProviderVertx.fakeBuilder() |
static DatabaseProviderVertx.Builder |
DatabaseProviderVertx.fromPool(io.vertx.core.Vertx vertx,
DatabaseProvider.Pool pool)
Use an externally configured DataSource, Flavor, and optionally a shutdown hook.
|
static DatabaseProviderVertx.Builder |
DatabaseProviderVertx.pooledBuilder(io.vertx.core.Vertx vertx,
Config config)
Configure the database from the following properties read from the provided configuration:
|
DatabaseProviderVertx.Builder |
DatabaseProviderVertx.Builder.withConnectionAccess()
Allow direct access to the underlying database connection.
|
DatabaseProviderVertx.Builder |
DatabaseProviderVertx.Builder.withDatePerAppOnly()
Wherever argDateNowPerDb() is specified, use argDateNowPerApp() instead.
|
DatabaseProviderVertx.Builder |
DatabaseProviderVertx.Builder.withOptions(OptionsOverride options) |
DatabaseProviderVertx.Builder |
DatabaseProviderVertx.Builder.withSqlInExceptionMessages()
Include SQL in exception messages.
|
DatabaseProviderVertx.Builder |
DatabaseProviderVertx.Builder.withSqlParameterLogging()
Enable logging of parameter values along with the SQL.
|
DatabaseProviderVertx.Builder |
DatabaseProviderVertx.Builder.withTransactionControl()
Allow provided Database instances to explicitly control transactions using the
commitNow() and rollbackNow() methods.
|
DatabaseProviderVertx.Builder |
DatabaseProviderVertx.Builder.withTransactionControlSilentlyIgnored()
This can be useful when testing code, as it can pretend to use transactions,
while giving you control over whether it actually commits or rolls back.
|
Copyright © 2016. All rights reserved.