Spring Data Document Changelog ============================================= Changes in version 1.0.0.M2 MongoDB (2011-04-09) ------------------------------------------------ General * Spring configuration support using Java based @Configuration classes Core Data Access * Persistence and mapping lifecycle events * GeoSpatial integration * [DATADOC-76] - Add support for findAndRemove to MongoTemplate/MongoOperations * [DATADOC-5] - Provide detailed mapping of Mongo errors onto Spring DAO exception * [DATADOC-51] - Fixed issue with exceptions thrown when authenticating multiple times for sam eDB instance Querying * [DATADOC-72] - Add support for Mongo's $elemMatch and chained Criteria * [DATADOC-77] - Rename "and" method in Query to "addCritera" * [DATADOC-67] - Criteria API to support keywords for geo search Mapping * Feature Rich Object Mapping integrated with Spring's Conversion Service * Annotation based mapping metadata but extensible to support other metadata formats * [DATADOC-60] - Add namespace support to setup a MappingMongoConverter * [DATADOC-33] - Introduce annotation to demarcate id field in a domain object Repository * [DATADOC-47, DATACMNS-17] - Adapted new metamodel API * [DATADOC-46] - Added support for 'In' and 'NotIn' keyword * [DATADOC-49] - Fixed 'And' and 'Or' keywords * [DATADOC-41] - Added support for executing QueryDsl predicates * [DATADOC-69] - Let repository namespace pickup the default mapping context bean and allow configuration * [DATADOC-24] - Allow use of @Query annotation to define queries * [DATADOC-34] - Create indexes for columns that are mentioned in query methods Cross-Store * [DATADOC-48] - Cross-store persistance - support for JPA Entities with fields transparently persisted/retrieved using MongoDB Logging * [DATADOC-66] - Log4j log appender Changes in version 1.0.0.M1 MongoDB (2011-02-14) ------------------------------------------------ General * BeanFactory for basic configuration of Mongo environment * Namespace for basic configuration of Mongo environment Core Data Access * Introduce MongoTemplate implementation with methods defined in MongoOperations interface * MongoTemplate support for insert, find, save, update, remove * MongoTemplate support for basic POJO serialization based on bean properties * Allow MongoTemplate methods to use a default collection name * Exception translation in MongoTemplate to Spring's DAO exception hierarchy * Support for update modifiers to allow for partial document updates * Expose WriteConcern settings on MongoTemplate used for any write operations * Support in MongoTemplate for enabling either logging or throwing exceptions based on value of WriteResult return value. Repository * Introducing generic repository implementation for MongoDB * Automatic implementation of interface query method names on repositories. * Namespace support for Mongo repositories * Allow usage of pagination and sorting with repositories