diff --git a/README.md b/README.md index 0696d6d6e..262c86e4f 100644 --- a/README.md +++ b/README.md @@ -45,26 +45,26 @@ Future plans are to support optional logging and/or exception throwing based on * To simplify the creation of Data Repositories a generic Repository interface and base class is provided. Furthermore, Spring will automatically create a Repository implementation for you that add implementations of finder methods you specify on an interface. For example the Repository interface is -public interface Repository { + public interface Repository { - T save(T entity); + T save(T entity); - List save(Iterable entities); + List save(Iterable entities); - T findById(ID id); + T findById(ID id); - boolean exists(ID id); + boolean exists(ID id); - List findAll(); + List findAll(); - Long count(); + Long count(); - void delete(T entity); + void delete(T entity); - void delete(Iterable entities); + void delete(Iterable entities); - void deleteAll(); -} + void deleteAll(); + } and there is a placeholder interface called MongoRepository that will in future add more Mongo specific methods.