Open mp911de opened 1 year ago
Yes, this class is not available yet. Will be adding it.
Hello everyone!
Please, if implemented can you provide support for uri where the current schema can be defined? For example, we have some Spring applications here where the connections as defined in such way:
datasource:
db2:
url: jdbc:db2://<host>:<port>/<database>:currentSchema=<schemaName>;
username: <user>
password: <password>
It works perfectly. In the builder I could not find a schema configuration, and was not clear to me where I could configure it. This approach is better then to set schema for every connection provided.
As per §4.3 R2DBC SPI Compliance, the ServiceLoader-based
ConnectionFactoryProvider
is missing. This lookup enables creating aConnectionFactory
from an R2DBC URL such asConnectionFactories.get("r2dbc:postgres://[<username>:<password>@]<host>:<port>/<database>")
, seeConnectionFactoryOptions
for reference.