File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
includes/fundamentals/code-snippets Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
.. _jndi:
2
+ .. _java-sync-jndi:
2
3
3
4
=============================================
4
5
Connect to MongoDB by Using a JNDI Datasource
@@ -50,7 +51,6 @@ JNDI Datasource.
50
51
.. literalinclude:: /includes/fundamentals/code-snippets/wildfly-module-with-version.xml
51
52
:language: xml
52
53
53
-
54
54
#. Add a binding to the naming subsystem configuration that references the
55
55
preceding module, the ``MongoClientFactory`` class, and the
56
56
:ref:`connection string <connection-uri>` for the MongoDB cluster.
Original file line number Diff line number Diff line change 1
- <module xmlns =" urn:jboss:module:1.3 " name =" org.mongodb" >
1
+ <module xmlns =" urn:jboss:module:1.9 " name =" org.mongodb" >
2
2
<resources >
3
- <resource-root path =" mongodb-driver-sync-4.1.0.jar" />
3
+ <resource-root path =" bson.{+full-version+}.jar" />
4
+ <resource-root path =" bson-record-codec.{+full-version+}.jar" />
5
+ <resource-root path =" mongodb-driver-core.{+full-version+}.jar" />
6
+ <resource-root path =" mongodb-driver-sync-{+full-version+}.jar" />
4
7
</resources >
5
8
<dependencies >
6
9
<module name =" javax.api" />
You can’t perform that action at this time.
0 commit comments