Announcement Announcement Module
Collapse
No announcement yet.
Spring Data Document with MongoDB Support 1.0.0.M2 Released Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Data Document with MongoDB Support 1.0.0.M2 Released

    Dear Spring Community,

    I am pleased to announce that the second milestone release of the Spring Data Document 1.0 project with MongoDB support is now available!
    The primary goal of the <b>Spring Data</B> 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 MongoDB Page.

    The changes and new features in Spring Data Document 1.0.0.M2 include:


    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 same DB 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

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

  • #2
    I just tried to set up a project using mongodb and the spring-data 1.0.0-M2 libraries.
    My tests failed due to a (probably) missing class:

    Caused by: java.lang.ClassNotFoundException: org.springframework.data.mapping.context.MappingCo ntextAware

    For the initialization I used any jar files from data-documents-core and data-commons-core available from your download sites (1.0.0M2). These jars does not contain the org.framework.data.mapping.(context|model) packages required for the most recent MongoTemplate. I do not use the Maven dependencies.

    I looked around for a while but failed to locate more recent releases from data-commons.
    Last edited by ralf_edmund; Apr 11th, 2011, 04:15 PM.

    Comment


    • #3
      i was able to get it loaded with the following.

      <dependency>
      <groupId>org.springframework.data</groupId>
      <artifactId>spring-data-commons-core</artifactId>
      <version>1.0.0.RC1</version>
      </dependency>

      Comment


      • #4
        Hi,
        I've created an issue for how to handle this for users who don't use maven.
        Mark

        Comment

        Working...
        X