Jongo for Mongo-3.4.0 ?

40 views
Skip to first unread message

David Novak

unread,
Jun 9, 2017, 10:40:29 AM6/9/17
to Jongo
Hi all,

please, is there any chance that Jongo will be updated to work with MongoDB Java driver 3.4.0? Specifically, Jongo object cannot be initiated on com.mongodb.client.MongoDatabase returned by mongoClient.getDatabase(dbName). Also, I'm using my own MongoDB codec and thus I can use, e.g. the following to directly return objects of MyClass:
this.collection.find(Filters.eq(id), MyClass.class)
I'm not sure, if this would work with Jongo

I love the idea of issuing the query with the MongoDB Shell syntax but I have everything on driver 3.4.0 and I cannot downgrade :-/

If Jongo is not planned to be upgraded, don't you know about any alternative that would parse the Mongo Shell syntax and create native MongoDB query?

Thanks! David

Benoît Guérout

unread,
Jun 12, 2017, 1:49:55 PM6/12/17
to jongo...@googlegroups.com
Hi, 

Thanks for your feedback.

Can you a code snippet with a failling example (eg. with a pull request) ?

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

Reply all
Reply to author
Forward
0 new messages