DATAMONGO-1314 - Fix typo in Exception message.
Original Pull Request: #265
This commit is contained in:
committed by
Christoph Strobl
parent
ddc3925659
commit
38fc7641a0
@@ -1960,7 +1960,7 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware {
|
||||
|
||||
MongoPersistentEntity<?> entity = mappingContext.getPersistentEntity(entityClass);
|
||||
if (entity == null) {
|
||||
throw new InvalidDataAccessApiUsageException("No Persitent Entity information found for the class "
|
||||
throw new InvalidDataAccessApiUsageException("No Persistent Entity information found for the class "
|
||||
+ entityClass.getName());
|
||||
}
|
||||
return entity.getCollection();
|
||||
|
||||
Reference in New Issue
Block a user