DatabaseClient
Parameters
the type of Vert.x SQL client, which can be SqlClient, Pool, or SqlConnection or one of its database-specific subtypes.
the Vert.x SQL client used for executing queries.
the configuration for this client, including SQL transformation, transaction settings, and the transaction provider for SQL statement preparation.
Deprecated
Use the primary constructor with a transaction provider in config. Create a config appropriate for your database, e.g. PgDatabaseClientConfig(JdbcTransactionExposedTransactionProvider(exposedDatabase)), MysqlDatabaseClientConfig(JdbcTransactionExposedTransactionProvider(exposedDatabase)), OracleDatabaseClientConfig(...), or MssqlDatabaseClientConfig(...).
Secondary constructor that accepts a Database for backward compatibility.
Parameters
the Vert.x SQL client used for executing queries.
the Exposed Database used for SQL generation.
the configuration for this client.