Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ConnectionFactoryProvider #5

Open
mp911de opened this issue Jul 7, 2023 · 2 comments
Open

Missing ConnectionFactoryProvider #5

mp911de opened this issue Jul 7, 2023 · 2 comments

Comments

@mp911de
Copy link

mp911de commented Jul 7, 2023

As per §4.3 R2DBC SPI Compliance, the ServiceLoader-based ConnectionFactoryProvider is missing. This lookup enables creating a ConnectionFactory from an R2DBC URL such as ConnectionFactories.get("r2dbc:postgres://[<username>:<password>@]<host>:<port>/<database>"), see ConnectionFactoryOptions for reference.

@rs-rappavu
Copy link
Contributor

Yes, this class is not available yet. Will be adding it.

@adrinerandrade
Copy link

adrinerandrade commented Aug 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants