Permalink
Commits on Feb 13, 2017
  1. DATAMONGO-1608 - Polishing.

    Throw an IllegalArgumentException when trying to create a query using 'null' as an argument for queries resulting in a $regex query operator.
    
    Original Pull Request: #439
    christophstrobl committed Feb 10, 2017
  2. DATAMONGO-1608 - Add guard against NPE in MongoQueryCreator when usin…

    …g IgnoreCase.
    
    Original Pull Request: #439
    EdwardPrentice committed with christophstrobl Feb 7, 2017
  3. DATAMONGO-1607 - Polishing.

    Move coordinate conversion to dedicated method. Additionally fix issue with assertions applied to late in the chain and added some tests.
    
    Original Pull Request: #438
    christophstrobl committed Feb 10, 2017
  4. DATAMONGO-1607 - Fix ClassCastException in Circle, Point and Sphere w…

    …hen coordinates are not Double.
    
    Original Pull Request: #438
    thiagodsti committed with christophstrobl Feb 3, 2017
Commits on Feb 1, 2017
  1. DATAMONGO-1602 - Remove references to Assert single-arg methods.

    Replace references to Assert single-arg methods with references to methods accepting the test object and message.
    
    Related ticket: SPR-15196.
    mp911de committed Jan 31, 2017
Commits on Jan 26, 2017
Commits on Jan 25, 2017
  1. DATAMONGO-1517 - Polishing.

    Remove ReflectiveSimpleTypes in favor of MongoSimpleTypes.
    Add add integration test.
    christophstrobl committed with olivergierke Jan 12, 2017
  2. DATAMONGO-1517 - Add support for Decimal128 BSON type.

    Support Decimal128 as Mongo simple type if present. Decimal128 is stored as NumberDecimal.
    
    class Person {
    
      String id;
      Decimal128 decimal128;
    
      Person(String id, Decimal128 decimal128) {
        this.id = id;
        this.decimal128 = decimal128;
      }
    }
    
    mongoTemplate.save(new Person("foo", new Decimal128(new BigDecimal("123.456"))));
    
    is represented as:
    
    { "_id" : "foo", "decimal128" : NumberDecimal("123.456") }
    mp911de committed with olivergierke Jan 3, 2017
  3. DATAMONGO-1596 - Fix typo in JavaDoc.

    Use correct @RelatedDocument annotation in MongoDB cross store reference documentation.
    mp911de committed Jan 25, 2017
  4. DATAMONGO-1575 - Polishing.

    Extend year range in license headers. Use MongoDB JSON serializer for String escaping. Move unquoting/quote checking to inner QuotedString utility class. Reformat code.
    mp911de committed Jan 2, 2017
  5. DATAMONGO-1575 - Escape Strings correctly.

    Use regex groups and parameter index values for replacement in string based queries.
    christophstrobl committed with mp911de Dec 22, 2016
Commits on Jan 23, 2017
Commits on Jan 20, 2017
  1. DATAMONGO-1592 - Adapt AuditingEventListenerUnitTests to changes in c…

    …ore auditing.
    
    The core auditing implementation now skips the invocation of auditing in case the candidate aggregate doesn't need any auditing in the first place. We needed to adapt the sample class we use to actually carry the necessary auditing annotations.
    
    Related ticket: DATACMNS-957.
    olivergierke committed Jan 20, 2017
Commits on Jan 18, 2017
  1. DATAMONGO-1590 - Polishing.

    Removed some compiler warnings. Hide newly introduced class in package scope and made use of Lombok annotations to avoid boilerplate code.
    
    Original pull request: #436.
    olivergierke committed Jan 18, 2017
  2. DATAMONGO-1590 - EntityInformation selected now correctly considers P…

    …ersistable.
    
    We now wrap the MappingMongoEntityInformation into one that delegates the methods implemented by Persistable to the actual entity in case it implements said interface.
    
    Original pull request: #436.
    christophstrobl committed with olivergierke Jan 16, 2017
Commits on Jan 16, 2017
  1. DATAMONGO-1588 - Polishing.

    Remove unused fields. Fix typo in method name. Reformat inner class to align formatting.
    
    Original pull request: #435.
    mp911de committed Jan 16, 2017
  2. DATAMONGO-1588 - Fix derived finder not accepting subclass of paramet…

    …er type.
    
    We now allow using sub types as arguments for derived queries. This makes it possible to use eg. a GeoJsonPoint for querying while the declared property type in the domain object remains a regular (legacy) Point.
    
    Original pull request: #435.
    christophstrobl committed with mp911de Jan 13, 2017
Commits on Jan 13, 2017
Commits on Jan 12, 2017
  1. DATAMONGO-1587 - Polishing.

    Convert @see http://… links to valid format using @see <a href=…>…</a>
    mp911de committed Jan 12, 2017
  2. DATAMONGO-1586 - Consider field name in TypeBasedAggregationOperation…

    …Context.getReferenceFor(…).
    
    We now consider the provided field name (alias) in mapped fields with which it is exposed. The field name applies to the exposed field after property path resolution in TypeBasedAggregationOperationContext. Previously, the field reference used the property name which caused fields to be considered non-aliased, so aggregation projection operations dropped the alias and exposed the field with its leaf property name.
    
    Original Pull Request: #434
    mp911de committed with christophstrobl Jan 9, 2017
  3. DATAMONGO-1585 - Polishing.

    Update documentation for better readability in html and pdf format.
    
    Original Pull Request: #433
    christophstrobl committed Jan 10, 2017
  4. DATAMONGO-1585 - Expose synthetic fields in $project aggregation stage.

    Field projections now expose their fields as synthetic simple fields. Projection aggregation stage redefines the available field set available for later aggregation stages entirely so projected fields are considered synthetic. A simple synthetic field has no target field which causes later aggregation stages to not pick up the underlying target but the exposed field name when rendering aggregation operations to Mongo documents.
    
    The change is motivated by a bug where previously an aggregation consisting of projection of an aliased field and sort caused the sort projection stage to render with the original field name instead of the aliased field. The sort did not apply any sorting since projection redefines the available field set entirely and the original field is no longer accessible.
    
    Original Pull Request: #433
    mp911de committed with christophstrobl Jan 9, 2017
Commits on Jan 11, 2017
  1. DATAMONGO-1576 - Update lifecycle event documentation.

    Add note on lifecycle event handling for property types.
    christophstrobl committed Jan 10, 2017
Commits on Jan 2, 2017
  1. DATAMONGO-1578 - Polishing.

    Add ticket references to test methods. Extend license years in copyright header.
    
    Original pull request: #398.
    mp911de committed Jan 2, 2017
  2. DATAMONGO-1578 - Add missing @Test annotation to ProjectionOperationU…

    …nitTests.
    
    Original pull request: #398.
    LinkedList committed with mp911de Oct 9, 2016
  3. DATAMONGO-1508 - Improve reference documentation.

    Replace Spring Data Document with Spring Data MongoDB. Extend copyright year range. Replace static Spring version leftover with variable. Fix typos.
    mp911de committed Jan 2, 2017
  4. DATAMONGO-1577 - Fix wording repetition in MongoRepository JavaDoc.

    Original pull request: #407.
    kryger committed with mp911de Nov 15, 2016
  5. DATAMONGO-1577 - Fix Reference and JavaDoc spelling issues.

    Replaced invalid class name MongoMappingConverter with actual class name of MappingMongoConverter. Fix typos.
    
    Original pull request: #425.
    kdombeck committed with mp911de Dec 8, 2016
  6. DATAMONGO-1508 - Polishing.

    Highlight attribute name. Replace tabs with spaces.
    
    Original pull request: #399.
    mp911de committed Jan 2, 2017
  7. DATAMONGO-1508 - Document authentication-dbname attribute in db-factory.

    Original pull request: #399.
    wheezil committed with mp911de Oct 10, 2016