jongo.org
Jongo {mongo-java-driver: 'with ease'}
http://jongo.org/tags/0.2/0.2.html
Ask the mailing list. Grab code on github. Document for Jongo v0.2. 02 is a deprecated version, please go to main page. To get up-to-date documentation. By default, Jongo uses Jackson to (un)marshall objects: a no-arg constructor, even private. Is enough to write an object into Mongo and read from it. Note that every Mongo document have an. Field Just name id property. Or annotate it with. The object type can be. It will be generated Mongo side or any Java type, other than array, so long as it is unique.
jongo.org
Jongo {mongo-java-driver: 'with ease'}
http://jongo.org/tags/0.4/0.4.html
Document for Jongo v0.4. 04 is a deprecated version, please go to main page. To get up-to-date documentation. And you're all set. Passing an object to the. Method will do the job. See mapping section. Update syntax is a bit different than in Mongo shell:. Query has to be passed using. You can update with a. Or with an object. You can also parameterize queries with. Using primitives or complex objects. Inc: {age: 1} ". Inc: {age: 1} ". Set: {address: #} ". Insert works as in Mongo shell. Or create your own.
jongo.org
Jongo {mongo-java-driver: 'with ease'}
http://jongo.org/tags/0.3/0.3.html
Document for Jongo v0.3. 03 is a deprecated version, please go to main page. To get up-to-date documentation. And you're all set. DB db = new Mongo().getDB("dbname"); Jongo jongo = new Jongo(db); MongoCollection friends = jongo.getCollection("friends"); Iterable Friend all = friends.find("{name: 'Joe'}").as(Friend.class); Friend one = friends.findOne("{name: 'Joe'}").as(Friend.class);. Passing an object to the. Method will do the job. See mapping section. Query has to be passed using. It can be handled w...
jongo.org
Jongo {mongo-java-driver: 'with ease'}
http://jongo.org/tags/1.1/1.1.html
Document for Jongo v1.1. 11 is a deprecated version, please go to main page. To get up-to-date documentation. Then choose a driver's version, finally download Jongo. And you're all set. DB db = new MongoClient().getDB("dbname"); Jongo jongo = new Jongo(db); MongoCollection friends = jongo.getCollection("friends"); MongoCursor Friend all = friends.find("{name: 'Joe'}").as(Friend.class); Friend one = friends.findOne("{name: 'Joe'}").as(Friend.class);. Passing an object to the. Query has to be passed using.
jongo.org
Jongo {mongo-java-driver: 'with ease'}
http://jongo.org/tags/1.0/1.0.html
Document for Jongo v1.0. 10 is a deprecated version, please go to main page. To get up-to-date documentation. Then choose a driver's version, finally download Jongo. And you're all set. DB db = new MongoClient().getDB("dbname"); Jongo jongo = new Jongo(db); MongoCollection friends = jongo.getCollection("friends"); MongoCursor Friend all = friends.find("{name: 'Joe'}").as(Friend.class); Friend one = friends.findOne("{name: 'Joe'}").as(Friend.class);. Passing an object to the. Query has to be passed using.
jongo.org
Jongo {mongo-java-driver: 'with ease'} - Documentation for v0.1
http://jongo.org/tags/0.1/0.1.html
Document for Jongo v0.1. 01 is a deprecated version, please go to main page. To get up-to-date documentation. By default, Jongo uses Jackson to (un)marshall objects: a no-arg constructor, even private. Is enough to write an object into Mongo and read from it. Note that every Mongo document have an. Field Defining this field Java side can be done two ways: the object field can be named. The object type can be. It will be generated Mongo side or any Java type, other than array, so long as it is unique.