diff --git a/core/src/main/java/org/primefaces/extensions/model/mongo/MorphiaLazyDataModel.java b/core/src/main/java/org/primefaces/extensions/model/mongo/MorphiaLazyDataModel.java index 1c6af6945..1f2d56e58 100644 --- a/core/src/main/java/org/primefaces/extensions/model/mongo/MorphiaLazyDataModel.java +++ b/core/src/main/java/org/primefaces/extensions/model/mongo/MorphiaLazyDataModel.java @@ -357,7 +357,7 @@ public Builder entityClass(Class entityClass) { return this; } - public Builder entityManager(SerializableSupplier datastore) { + public Builder datastore(SerializableSupplier datastore) { model.datastore = datastore; return this; }