|
|
|
|
@ -469,6 +469,13 @@ public class MongoTemplate implements InitializingBean, MongoOperations {
@@ -469,6 +469,13 @@ public class MongoTemplate implements InitializingBean, MongoOperations {
|
|
|
|
|
return results; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* (non-Javadoc) |
|
|
|
|
* @see org.springframework.data.document.mongodb.MongoOperations#getCollectionNames() |
|
|
|
|
*/ |
|
|
|
|
public List<String> getCollectionNames() { |
|
|
|
|
return new ArrayList<String>(getDb().getCollectionNames()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* (non-Javadoc) |
|
|
|
|
* @see org.springframework.data.document.mongodb.MongoOperations#getCollection(java.lang.String, java.lang.Class, org.springframework.data.document.mongodb.MongoReader) |
|
|
|
|
*/ |
|
|
|
|
|