We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd9b0a commit b980ed2Copy full SHA for b980ed2
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java
@@ -1881,7 +1881,7 @@ String determineCollectionName(Class<?> entityClass) {
1881
1882
MongoPersistentEntity<?> entity = mappingContext.getPersistentEntity(entityClass);
1883
if (entity == null) {
1884
- throw new InvalidDataAccessApiUsageException("No Persitent Entity information found for the class "
+ throw new InvalidDataAccessApiUsageException("No Persistent Entity information found for the class "
1885
+ entityClass.getName());
1886
}
1887
return entity.getCollection();
0 commit comments