@ -42,7 +42,7 @@ If you'd rather like the latest snapshots of the upcoming major version, use our
@@ -42,7 +42,7 @@ If you'd rather like the latest snapshots of the upcoming major version, use our
@ -81,7 +81,7 @@ class ApplicationConfig extends AbstractMongoConfiguration {
@@ -81,7 +81,7 @@ class ApplicationConfig extends AbstractMongoConfiguration {
@Override
public Mongo mongo() throws Exception {
return new Mongo();
return new MongoClient();
}
@Override
@ -94,9 +94,9 @@ class ApplicationConfig extends AbstractMongoConfiguration {
@@ -94,9 +94,9 @@ class ApplicationConfig extends AbstractMongoConfiguration {
This sets up a connection to a local MongoDB instance and enables the detection of Spring Data repositories (through `@EnableMongoRepositories`). The same configuration would look like this in XML: