Package org.springframework.data.document.mongodb

Examples of org.springframework.data.document.mongodb.SimpleMongoConverter


  private final MongoTemplate mongoDbTemplate;

  @Autowired
  private MongoPersonRepository(Mongo mongo) {
    Assert.notNull(mongo, "Mongo is required");
    mongoDbTemplate = new MongoTemplate(mongo, "test", new SimpleMongoConverter());
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.document.mongodb.SimpleMongoConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.