Connecting to MongoDB 2.6.12 using Java Driver version 0.11

64 views
Skip to first unread message

sanj...@nrifintech.com

unread,
Mar 30, 2016, 11:23:32 AM3/30/16
to mongodb-user
Dear Sir,

Can we connect to MongoDB Server 2.6.12  using Java Driver version 0.11?  We have a constraint of
upgrading Java Driver version which would require huge change in our client code. We use JDK 8 for
compilation of our project. We would like to know whether it is possible to connect to MongoDB Server 2.6.12 or
MongoDB Server 3.0 using Java Driver version 0.11 if we only use the limited set of features (not the functionalities that
were introduced in Server version 2.6.12 or 3.0).

Thank you in advance.



**************************************************************************************************

PLEASE READ: The information contained in this e-mail is confidential  and intended 
for the named  recipient(s)  only. If  you are not  an intended recipient of this  e-mail 
please  notify the sender immediately and delete your copy  from your  system. Our 
company accepts no liability for any damage sustained as a result of viruses in this 
e-mail or any attachment(s) to it.

**************************************************************************************************

Stephen Steneker

unread,
Apr 28, 2016, 8:50:51 PM4/28/16
to mongodb-user
On Thursday, 31 March 2016 02:23:32 UTC+11, sanjeevs wrote:
Can we connect to MongoDB Server 2.6.12  using Java Driver version 0.11?  We have a constraint of
upgrading Java Driver version which would require huge change in our client code. We use JDK 8 for
compilation of our project. We would like to know whether it is possible to connect to MongoDB Server 2.6.12 or
MongoDB Server 3.0 using Java Driver version 0.11 if we only use the limited set of features (not the functionalities that
were introduced in Server version 2.6.12 or 3.0).

Hi,

The MongoDB Java driver version 0.11 was released in Oct, 2009 .. so if that's definitely the version you are using, I'd be surprised if there weren't significant compatibility problems and known issues that have since been resolved.

If you are actually using the 2.11 version of the Java driver, this has only been tested through MongoDB 2.4. I wouldn't recommend using unsupported combinations of MongoDB driver and server as you may run into novel bugs (we don't test or support these combinations). If you want to avoid risk, I would continue using a compatible server version and schedule a proper upgrade of driver & server into your development/testing schedule.

Please see the documentation for a full guide to Java Driver Compatibility including MongoDB server and JDK versions.

Regards,
Stephen

Reply all
Reply to author
Forward
0 new messages