Skip to content

Commit 6a2711e

Browse files
authored
DOCSP-26189: require record codec for osgi (#296)
* DOCSP-26189: require record codec for osgi * add link to ibm docs
1 parent d246abd commit 6a2711e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/fundamentals/data-formats/document-data-format-record.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ often used to model data and separate business logic from data representation.
2828
objects instead. See the :ref:`<fundamentals-pojos>` guide for
2929
implementation details.
3030

31+
.. note::
32+
33+
If you are using the driver in an OSGi container and your application
34+
uses the driver to encode or decode Java records, you must add an
35+
explicit dependency on the ``org.bson.codecs.record`` module. Learn
36+
more about defining dependencies for OSGi containers in the `IBM OSGi
37+
documentation <https://www.ibm.com/docs/en/cics-ts/6.1?topic=server-guidance-using-osgi>`__.
38+
3139
Serialize and Deserialize a Record
3240
----------------------------------
3341

0 commit comments

Comments
 (0)