Upgrading the MongoDB Java Driver

90 views
Skip to first unread message

Peter Boughton

unread,
Jan 23, 2015, 10:43:09 AM1/23/15
to cfmo...@googlegroups.com
There are two java driver files in the lib directory: mongo-2.10.1.jar and mongo-java-driver.2.11.1.jar

I've removed both of those and put mongo-java-driver-2.12.5.jar in their place.

Can anyone confirm that this will work (it appears to), or whether there is some edge case reason for the 2.10 version being there (with an incorrect/ambiguous filename)?

Does the cfmongodb.jar file need to change or not?

Marc Esher

unread,
Feb 8, 2015, 4:33:25 PM2/8/15
to cfmo...@googlegroups.com
Hey Pet

Thanks a lot for doing this. The existence of both jars is simply a mistake.

The cfmongodb.jar should not need to be rebuilt.

Looking forward to the pull request, and thanks again.

Terribly sorry for the late reply. I was out of town for 3 weeks and am just getting caught up.

Marc

--
You received this message because you are subscribed to the Google Groups "CFMongoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfmongodb+...@googlegroups.com.
To post to this group, send email to cfmo...@googlegroups.com.
Visit this group at http://groups.google.com/group/cfmongodb.
For more options, visit https://groups.google.com/d/optout.

Daniel Schmid

unread,
Jul 3, 2015, 11:00:39 AM7/3/15
to cfmo...@googlegroups.com
I am fairly new to mongodb and try to sort out the enviroment for cfml mongodb project.

We are using mongodb 3.0.... after updating cfmongodb with driver 2.13.2 thus far all basic methods worked with version 3.
But due to some API changes all java drivers after 2.13 don't work with current version of cfmongodb - that includes the new java driver version 3.

Looking at the mongodb java driver 3.0 docs there seem to be some improvement on performance and new features like async-requests.

I'm wondering if it would be worth to think of an upgrade thus cfmongodb could use driver version 3? The asyncrequest feature looks interesting.

Daniel
Reply all
Reply to author
Forward
0 new messages