Skip to content

Modify Java docs in DatabaseClientFactory newClient method for Data Services support #1065

Closed
@georgeajit

Description

@georgeajit

Version of MarkLogic Java Client API

develop

Version of MarkLogic Server

9.0 nightly

Java version

1.8 or later

OS and version

All platforms

Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end

newClient(String host, int port, String database, SecurityContext securityContext)

The Java docs for the above overridden method signature needs to warn users not to use this signature when connecting to a REST App Server for Data Services use cases.

Java guide has the following note in the chapter titled Creating Data Services using MarkLogic Java Development Tools:

Note: You cannot specify the database explicitly when creating the DatabaseClient but, instead, must use the default database associated with the App Server.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions