Spring Data Document - MongoDB Support 1.0.0.M1 Released

Releases | Thomas Risberg | February 15, 2011 | ...

Dear Spring Community,

I am pleased to announce that the very first milestone release of the Spring Data Document 1.0 project with MongoDB support is now available!

The primary goal of the Spring Data project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.

The MongoDB module provides integration with the MongoDB document database.

Downloads | JavaDocs | Reference Documentation | Changelog

To learn more about the project, visit the Spring Data Homepage.

The features in Spring Data Document 1.0.0.M1 include:

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

Looking forward to your feedback on the forum or in the issue tracker.

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all