Java版本,Java版本MongoDB驱动,驱动与MongoDB数据库,Spring之间的兼容性
Posted 学习笔记
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java版本,Java版本MongoDB驱动,驱动与MongoDB数据库,Spring之间的兼容性相关的知识,希望对你有一定的参考价值。
Java Driver Compatibility
MongoDB Compatibility(驱动与数据库兼容)
Java Driver Version | MongoDB 4.2 | MongoDB 4.0 | MongoDB 3.6 | MongoDB 3.4 | MongoDB 3.2 | MongoDB 3.0 | MongoDB 2.6 |
---|---|---|---|---|---|---|---|
Version 4.0 | ? | ? | ? | ? | ? | ? | ? |
Version 3.12 | ? | ? | ? | ? | ? | ? | ? |
Version 3.11 | ? | ? | ? | ? | ? | ? | ? |
Version 3.10 | ? | ? | ? | ? | ? | ? | |
Version 3.9 | ? | ? | ? | ? | ? | ? | |
Version 3.8 | ? | ? | ? | ? | ? | ? | |
Version 3.7 | ? | ? | ? | ? | ? | ||
Version 3.6 | ? | ? | ? | ? | ? | ||
Version 3.5 | ? | ? | ? | ? | |||
Version 3.4 | ? | ? | ? | ? | |||
Version 3.3 | ? | ? | ? | ||||
Version 3.2 | ? | ? | ? | ||||
Version 3.1 | ? | ? | |||||
Version 3.0 | ? | ? | |||||
Version 2.14 | ? [1] | ? | ? | ||||
Version 2.13 | ? | ? | |||||
Version 2.12 | ? |
The driver does not support older versions of MongoDB.
[1] | (1) The 2.14 driver does not support all MongoDB 3.2 features (e.g., read concern); however, if you are currently on a version 2.x driver and would like to run against MongoDB 3.2 but cannot upgrade to driver version 3.2, use the 2.14 driver. |
Language Compatibility(驱动与JAVA语言版本兼容)
Java Driver Version | Java 5 | Java 6 | Java 7 | Java 8 | Java 11 [1] |
---|---|---|---|---|---|
Version 4.0 | ? | ? | |||
Version 3.12 | ? | ? | ? | ? | |
Version 3.11 | ? | ? | ? | ? | |
Version 3.10 | ? | ? | ? | ? | |
Version 3.9 | ? | ? | ? | ? | |
Version 3.8 | ? | ? | ? | ? | |
Version 3.4 | ? | ? | ? | ? | |
Version 3.3 | ? | ? | ? | ? | |
Version 3.2 | ? | ? | ? | ? | |
Version 3.1 | ? | ? | ? | ? | |
Version 3.0 | ? | ? | ? | ? | |
Versions >= 2.7 | ? | ? | ? | ? | ? |
[2] | (1) Java versions 8 and above are all supported thanks to the JVM backwards compatibility promise. Only LTS versions will be explicitly listed in future. |
参考:
https://docs.mongodb.com/drivers/driver-compatibility-reference#java-driver-compatibility
以上是关于Java版本,Java版本MongoDB驱动,驱动与MongoDB数据库,Spring之间的兼容性的主要内容,如果未能解决你的问题,请参考以下文章
Reactive-MongoDB 异步 Java Driver 解读