DATAMONGO-1314 - Fix typo in Exception message.

Original Pull Request: #265
This commit is contained in:
Ilho Ahn
2015-01-17 14:06:49 +09:00
committed by Christoph Strobl
parent ddc3925659
commit 38fc7641a0

View File

@@ -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();