| Modifier and Type | Field and Description |
|---|---|
static PropertyKind<Row> |
GENERATED_KEYS
The property to be used to retrieve the generated keys
|
static PropertyKind<Boolean> |
OUTPUT
The property to be used to retrieve the output of the callable statement
|
| Modifier and Type | Method and Description |
|---|---|
static JDBCPool |
pool(Vertx vertx,
DataSource dataSource)
Create a JDBC pool using a pre-initialized data source.
|
static JDBCPool |
pool(Vertx vertx,
DataSource dataSource,
JsonObject config)
Create a JDBC pool using a pre-initialized data source.
|
static JDBCPool |
pool(Vertx vertx,
DataSourceProvider dataSourceProvider)
Create a JDBC pool which maintains its own data source.
|
static JDBCPool |
pool(Vertx vertx,
JDBCConnectOptions connectOptions,
PoolOptions poolOptions)
Create a JDBC pool which maintains its own data source.
|
static JDBCPool |
pool(Vertx vertx,
JsonObject config)
Create a JDBC pool which maintains its own data source.
|
close, connectHandler, connectionProvider, getConnection, getConnection, pool, pool, pool, preparedQuery, query, size, withConnection, withConnection, withTransaction, withTransactionclose, preparedQuerystatic final PropertyKind<Row> GENERATED_KEYS
static final PropertyKind<Boolean> OUTPUT
static JDBCPool pool(Vertx vertx, JDBCConnectOptions connectOptions, PoolOptions poolOptions)
vertx - the Vert.x instanceconnectOptions - the options to configure the connectionpoolOptions - the connection pool optionsstatic JDBCPool pool(Vertx vertx, JsonObject config)
vertx - the Vert.x instanceconfig - the options to configure the client using the same format as JDBCClientstatic JDBCPool pool(Vertx vertx, DataSourceProvider dataSourceProvider)
vertx - the Vert.x instancedataSourceProvider - the options to configure the client using the same format as JDBCClientstatic JDBCPool pool(Vertx vertx, DataSource dataSource)
vertx - the Vert.x instancedataSource - a pre-initialized data sourcestatic JDBCPool pool(Vertx vertx, DataSource dataSource, JsonObject config)
url - the connection stringuser - the connection user namedatabase - the database namemaxPoolSize - the max allowed number of connections in the poolvertx - the Vert.x instancedataSource - a pre-initialized data sourceconfig - the pool configurationCopyright © 2022 Eclipse. All rights reserved.