File tree Expand file tree Collapse file tree 15 files changed +47
-35
lines changed
specify-connection-options Expand file tree Collapse file tree 15 files changed +47
-35
lines changed Original file line number Diff line number Diff line change 11define: prefix docs/drivers/java/sync
22define: base https://www.mongodb.com/${prefix}
3- define: versions v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v5.0 v5.1 v5.2 v5.3 master
3+ define: versions v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 v4.10 v4.11 v5.0 v5.1 v5.2 v5.3 v5.4 master
44
5- symlink: current -> v5.3
5+ symlink: current -> v5.4
66symlink: upcoming -> master
77
88raw: ${prefix}/ -> ${base}/current/
99raw: ${prefix}/master -> ${base}/upcoming/
1010
1111[*-v5.2]: ${prefix}/${version}/fundamentals/versioned-api/ -> ${base}/${version}/fundamentals/stable-api/
12- [*-v4.6]: ${prefix}/${version}/fundamentals/crud/read-operations/change-streams/ -> ${base}/${version}/fundamentals/crud/read-operations/retrieve/
1312[*-master]: ${prefix}/${version}/fundamentals/csfle/ -> ${base}/${version}/fundamentals/encrypt-fields/
1413[*-master]: ${prefix}/${version}/fundamentals/crud/write-operations/change-a-document/ -> ${base}/${version}/fundamentals/crud/write-operations/modify/
15- [*-v4.10]: ${prefix}/${version}/fundamentals/connection/socks/ -> ${base}/${version}/
16- [*-v4.8]: ${prefix}/${version}/connection-troubleshooting/ -> ${base}/${version}/
14+
15+ # TOC evolution redirects
16+
1717[v5.0-master]: ${prefix}/${version}/fundamentals/crud/ -> ${base}/${version}/crud/
1818[v5.0-master]: ${prefix}/${version}/fundamentals/crud/read-operations/ -> ${base}/${version}/crud/query-documents/
1919[v5.0-master]: ${prefix}/${version}/fundamentals/crud/read-operations/retrieve/ -> ${base}/${version}/crud/query-documents/find/
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ toc_landing_pages = [
1717 " /logging-monitoring" ,
1818 " /api-documentation" ,
1919 " /security" ,
20- " /security/auth"
20+ " /security/auth" ,
2121]
2222
2323sharedinclude_root = " https://raw.githubusercontent.com/10gen/docs-shared/main/"
@@ -26,7 +26,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2626driver = " java"
2727driver-long = " MongoDB Java Driver"
2828driver-short = " Java driver"
29- version = " 5.3 "
29+ version = " 5.4 "
3030full-version = " {+version+}.0"
3131mdb-server = " MongoDB Server"
3232package-name-org = " mongodb-org"
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ against the connected secondary node if you set the read preference to
250250
251251You can also specify the ``serverSelectionTimeoutMS`` connection option
252252to adjust the amount of time in which the driver must select a server. To
253- learn more, see the :ref:`java-connection-uri-options ` guide.
253+ learn more, see the :ref:`mcs-cluster-settings ` guide.
254254
255255.. _java-miscellaneous-errors:
256256
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ Specify Connection Options
2626 Cluster Settings </connection/specify-connection-options/cluster-settings>
2727 Server Settings </connection/specify-connection-options/server-settings>
2828 Socket Settings </connection/specify-connection-options/socket-settings>
29+ Security Settings </connection/specify-connection-options/security-connection-options>
2930 Configure Client-level CRUD Settings </connection/specify-connection-options/configure-crud>
3031 Network Compression </connection/specify-connection-options/network-compression>
3132 JNDI Datasource </connection/specify-connection-options/jndi>
@@ -63,4 +64,4 @@ You can learn how to using logging and monitoring with the {+driver-short+} in
6364the :ref:`Logging and Monitoring section <java-logging-monitoring>`, which
6465includes the following pages:
6566
66- .. include:: /includes/logging-monitoring/logging-monitoring-pages.rst
67+ .. include:: /includes/logging-monitoring/logging-monitoring-pages.rst
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ MongoDB supports many options for securing your data before and during
1818transportation. For information about security options, see our :ref:`Security
1919section <java-security>`, which includes the following:
2020
21- .. include:: /includes/security/security-pages.rst
21+ .. include:: /includes/security/security-pages.rst
Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ retrieve.
5656
5757Call the ``find()`` method on an instance of a ``MongoCollection`` to filter for
5858documents that match the provided query. For more information about how to
59- specify a query, see our :doc:`Specify a Query </crud/query-document>` guide.
59+ specify a query, see our :ref:`java-query` guide.
60+
6061You can then use methods such as ``forEach()`` or ``cursor()`` to retrieve
6162matching documents. For more information, see the `FindIterable
6263<{+api+}/apidocs/mongodb-driver-sync/com/mongodb/client/FindIterable.html>`__
Original file line number Diff line number Diff line change 11.. note :: Example Setup
22
3- This example connects to an instance of MongoDB by using a connection URI. To learn
4- more about connecting to your MongoDB instance, see the :ref: ` connection guide
5- < connect-to-mongodb>` . This example also uses the `` movies `` collection in the
6- `` sample_mflix `` database included in the :atlas: ` Atlas sample datasets
7- </sample-data?jmp=docs_driver_java > `. You can load them into
8- your database on the free tier of MongoDB Atlas by following the :atlas: ` Get
9- Started with Atlas Guide
10- </getting-started/#atlas-getting-started?jmp=docs_driver_java > `.
3+ This example connects to an instance of MongoDB by using a
4+ connection URI. To learn more about connecting to your MongoDB
5+ instance, see the :ref: ` java- connect-to-mongodb` guide . This example
6+ also uses the `` movies `` collection in the `` sample_mflix `` database
7+ included in the :atlas: ` Atlas sample datasets </sample-data> `. You
8+ can load them into your database on the free tier of MongoDB Atlas
9+ by following the :atlas: ` Get Started with Atlas Guide
10+ </getting-started/#atlas-getting-started> `.
Original file line number Diff line number Diff line change 1212 - Java 6
1313 - Java 5
1414
15- * - 4.11 to 5.3
15+ * - 4.11 to 5.4
1616 - ✓
1717 - ✓
1818 - ✓
5757 - ✓
5858 -
5959
60- .. [#virtual-threads-note ] This driver version is not compatible with virtual threads.
60+ .. [#virtual-threads-note ] This driver version is not compatible with
61+ virtual threads.
Original file line number Diff line number Diff line change 1414 - MongoDB 4.0
1515 - MongoDB 3.6
1616
17- * - 5.2 to 5.3
17+ * - 5.2 to 5.4
1818 - ✓
1919 - ✓
2020 - ✓
Original file line number Diff line number Diff line change 22- :ref: `In-Use Encryption <java-fle >`
33- :ref: `TLS/SSL <tls-ssl >`
44- :ref: `SOCKS5 Proxy <java-connect-socks >`
5- - :ref: `Validate Driver Artifact Signatures <java-validate-signatures >`
5+ - :ref: `Validate Driver Artifact Signatures <java-validate-signatures >`
You can’t perform that action at this time.
0 commit comments