Closed OiNutter closed 11 months ago
@OiNutter could you provide an example of a connection string with database that you expect the JDBC driver to be able to handle?
@rychipman I have submitted a PR, can you please review it
Is there a workaround for this? I need to use the driver with DataSourceProperties but can't pass in the database
+1 to this request. Ideally the database
parameter can be passed in the URL parameters
Few of our (Informatica) customers want to use this driver with our product for data profiling and I am asked to supply the Jar. Attaching the jar I built for anyone who needs it
This feature is now supported, as of this commit. Similar to mongodb uris, this will come after the host / port. For example jdbc:mongodb://<host>:<port>/<database>?authSource=<auth db>
. Please note that if the database is specified in the connection string and in the info, the latter will take precedence.
With JDBC you should be able to specify the database via the connection string, not by having to pass it in the info argument. At the moment this will cause a NullPointerException as it fails the Preconditions check in MongoStatement.