mariadb-connector-r2dbc-usage
MariaDB-specific behavior of MariaDB Connector/R2DBC (the org.mariadb:r2dbc-mariadb reactive driver implementing the R2DBC SPI) for application code — that the URL scheme is r2dbc:mariadb://user:pw@host:port/db and factories come from ConnectionFactories.get(url) or a MariadbConnectionConfiguration builder; that placeholders are positional ? bound 0-indexed or named :name; that NOTHING runs until the Publisher returned by Statement.execute() is subscribed, and a Result can be consumed exactly once; that bindNull(index, Class) needs an explicit type; that autocommit defaults to true and useServerPrepStmts to false; that transactions return Mono<Void> that must itself be subscribed; that pooling is not built in and needs r2dbc-pool; and that errors arrive as onError signals (R2dbcException), not thrown exceptions. Use when writing or reviewing Java code that talks to MariaDB reactively via R2DBC.
Pinned to revision 2206a90dc255, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.