
x-db2-client.4.0.0-milestone5.source-code.connections.adoc Maven / Gradle / Ivy
== Using connections
When you need to execute sequential queries (without a transaction), you can create a new connection
or borrow one from the pool:
[source,$lang]
----
{@link examples.SqlClientExamples#usingConnections01(io.vertx.core.Vertx, io.vertx.sqlclient.Pool)}
----
Prepared queries can be created:
[source,$lang]
----
{@link examples.SqlClientExamples#usingConnections02(io.vertx.sqlclient.SqlConnection)}
----
© 2015 - 2025 Weber Informatics LLC | Privacy Policy