You are currently viewing an older version of the Java driver documentation.
For the most recent version of the reference documentation, see our MongoDB Java Driver documentation site.
For the most recent version of the reference documentation, see our MongoDB Java Driver documentation site.
MongoDB Java Driver Documentation
Welcome to the MongoDB JVM driver documentation hub for the 4.2 drivers release.
What’s New in 4.2
For key new features of 4.2, see What’s New.
Upgrade
To upgrade, refer to the Upgrade Considerations documentation.
MongoDB Driver
For the synchronous MongoDB Driver, see MongoDB Driver section.
MongoDB Reactive Streams Driver
For the MongoDB Reactive Streams Driver, see MongoDB Reactive Streams Driver section.
MongoDB Scala Driver
For the MongoDB Scala Driver, see MongoDB Scala Driver section.
BSON Library
The BSON library comprehensively supports the BSON spec, the data storage and network transfer format that MongoDB uses for “documents”. The reference guide provides information about working with Documents, how to use Codecs and Extended JSON support.