Search:

Type: Posts; User: afriday; Keyword(s):

Search: Search took 0.03 seconds.

  1. oh, get it , in(),nin() need an array argument, ...

    oh, get it , in(),nin() need an array argument, where("age").in(l.toArray()) is working correctly
  2. whick criterion use $ne operation? and i have problem when using in,nin

    i want to do $ne operation, but i have not found a criteria match it.
    and the in ,nin seems working incorrectly, i insert 4 persons


    Person p1 = new Person("Bob", 33);
    mongoTemplate.insert(p1);...
  3. the first one (push a pojo) seems a bug of mongo...

    the first one (push a pojo) seems a bug of mongo java driver, and i convert my pojo to a DBObject for resolve the problem.
    the second one is not a bug(but not friendly enough), i write the query...
  4. a new question on update()

    at last testcase, i want to increase Bob's balance only, so i modified the query from


    WriteResult wr = mongoTemplate.updateMulti(
    new...
  5. spring-data-mongodb-examples-hello,Update().push() not working

    I just clone http://github.com/SpringSource/spring-data-document-examples.git.
    I want to test push a pojo to a collection, so i modified a testcase in SimpleMongoTest in...
Results 1 to 5 of 5