Thomas Risberg
2c46cfd8fe
Updating documentation with project name changes
14 years ago
Thomas Risberg
45f2900d15
Updating documentation with package name changes and Criteria changes
14 years ago
Oliver Gierke
79934538b6
DATAMONGO-303 - Updated to Querydsl 2.2.4.
14 years ago
Oliver Gierke
0e4e0094a5
DATAMONGO-302, DATACMNS-91 - Added null-checks for CRUD methods where necessary.
...
CRUD methods in SimpleMongoRepository now consistently throw IllegalArgumentExceptions for null parameters handed to them.
14 years ago
Thomas Risberg
5df61563f4
DATADOC-300 Changing to use InvalidMongoDbApiUsageException
14 years ago
Thomas Risberg
04ebec993d
DATADOC-300 Removing old 'or' metod, adding JavaDoc
14 years ago
Thomas Risberg
caa245dd08
DATADOC-283 DATADOC-300 Refatoring the QueryCriteria implementations to better support $and, $or and $nor queries
14 years ago
Oliver Gierke
717ff38319
DATADOC-230 - Added method to remove objects from specific collection.
...
Added MongoOperations.remove(Object, String) and according MongoTemplate implementation to be able to explicitly define the collection an object should be removed from. This aligns to the method signatures we provide for all other methods as well.
Consolidated MongoTemplate.getIdPropertName(…) and ….getIdValue(…) into ….getIdQueryFor(…) as they we're only used inside a method building a by-id-query for an object.
14 years ago
Oliver Gierke
33155ba0f4
DATADOC-295 - Added ability to setup a SimpleMongoDbFactory using a MongoURI.
...
Extended SimpleMongoDbFactory with a constructor to take a MongoUri instance. Expose uri attribute at the db-factory namespace element.
14 years ago
Oliver Gierke
9f62efa47c
Fixed typo in reference documentation.
14 years ago
Oliver Gierke
620fc876f4
Removed unused imports.
14 years ago
Oliver Gierke
cfcf839232
DATADOC-297 - Pruned irrelevant sub modules.
...
Removed CouchDB module as well as the generic document one. Renamed document-parent into mongodb-parent. Adapted poms accordingly.
14 years ago
Oliver Gierke
7ce1e5fbd3
DATADOC-294 - Overhaul of collection and type information handling.
...
Streamlined handling of when and how to write type information into DBObjects being created. Added handling for converting Collections on the top level.
14 years ago
Christoph Leiter
2d12ba38f8
DATADOC-289 - Filter AfterLoadEvent for specific domain type.
...
AfterLoadEvent can now be typed to a domain type again and will only be invoked if documents are loaded that shall be mapped onto the declared type.
14 years ago
Oliver Gierke
1554d489ca
DATACMNS-73 - Fixed package imports in DocumentBacking aspect.
14 years ago
Oliver Gierke
f030d304f4
DATADOC-271, DATACMNS-73 - Adapted changes of SD Commons.
14 years ago
Oliver Gierke
105e1da82b
DATADOC-271 - Added license headers to cross-store files.
14 years ago
Oliver Gierke
dbc7601d7b
DATADOC-293 - Activated Polygon related tests.
...
CI system has been updated to Mongo 2.0 so we can activate the test invoking its features.
14 years ago
Thomas Risberg
ccf981b8fb
DATADOC-271 Re-packaging Mongo cross-store support, removing 'document' in package name
14 years ago
Oliver Gierke
8a43b4bbc0
DATADOC-65 - Allow usage of SpEL in @Document .
...
@Document can now use SpEL expressions to let the collection an entity shall be stored to be calculated on the fly.
14 years ago
Thomas Risberg
1c2c592b96
DATADOC-271 Re-packaging Mongo cross-store support, removing 'document' in package name
14 years ago
Thomas Risberg
cd4b409bf2
DATADOC-283 - Adding query support for $and operator.
14 years ago
Oliver Gierke
f71477f17d
DATADOC-289 - Fixed invocation of AfterLoadEvent in AbstractMongoEventListener.
...
Invoke events that are not bound to the domain type before the domain type check. Removed unnecessary gentrification of AfterLoadEvent.
14 years ago
Oliver Gierke
454df1e7f1
DATADOC-273 - Persisting type information for raw types as well.
...
We now trigger writing type informations for subtypes of raw collections and maps as well.
14 years ago
Oliver Gierke
80641a0943
DATADOC-293 - Added Polygon abstraction to Criteria.
...
Introduced Polygon value object to capture a list of Points. Polished implementation of Circle (equals(…) and hashCode()) and API of Criteria. Added some additional unit tests. Introduced Shape interface to allow streamling the implementation of building within-Criterias.
Ignoring the tests for polygons right now until we have updated the Mongo instance on the CI server to 2.0.
14 years ago
Oliver Gierke
e405bf574c
DATADOC-291 - MongoQueryCreator now considers mapping information for query building.
...
Instead of using the pure PropertyPath of the PartTree we ask the MappingContext for a PersistentPropertyPath and create a field name based path expression from it.
14 years ago
Oliver Gierke
9f8e406aff
DATADOC-275 - Fixed id handling for DBRefs.
...
Trying to convert target ids into ObjectId or String before using the actual type.
14 years ago
Oliver Gierke
7d26366352
Added test case to show usage of custom converters and querying.
14 years ago
Oliver Gierke
864ae831dd
DATADOC-285 - Added test case for issue, doesn't fail right now.
14 years ago
Oliver Gierke
bfb13d99e3
DATADOC-280 - Added maxAutoConnectRetryTime config option.
...
Extended MongoOperationsFactoryBean to carry maxAutoConnectRetryTime property and exposed that through the XML namespace.
14 years ago
Oliver Gierke
f39de4c28e
DATADOC-286 - Added support for GreaterThanEqual and LessThanEqual.
...
Using those keywords provided by Spring Data Commons will cause $gte and $lte criterias to be created.
14 years ago
Oliver Gierke
3bdeb68617
DATADOC-278 - QueryMapper now converts ids for $ne correctly.
14 years ago
Oliver Gierke
6b40a27c92
DATACMNS-76 - Adapt changes of Spring Data Commons.
14 years ago
Oliver Gierke
237cbec945
DATADOC-284 - Added custom SpringDataMongodbSerializer.
...
The custom MongodbSerializer considers mapping information when building keys for the Querydsl queries to be executed.
14 years ago
Oliver Gierke
39bc6771b7
DATADOC-183 - Added count(…) methods to MongoOperations.
...
MongoTemplate is now able to count documents using either an entity class or collection name.
14 years ago
Oliver Gierke
73b2d5a99c
DATADOC-270 - Removed critical Sonar warnings from codebase.
14 years ago
Oliver Gierke
5dab0c721e
DATADOC-277 - Upgraded to Querydsl 2.2.2.
14 years ago
Oliver Gierke
bf7c9663cf
DATADOC-274, DATADOC-276 - Split up repository package to be consistent with Spring Data JPA.
...
Introduced dedicated config, query and support packages. Updated Sonargraph architecture description introducing subsystems for repository layer.
14 years ago
Oliver Gierke
135742b7e4
Fixed potential NullPointException in debug level in MongoQueryCreator.
14 years ago
Mark Pollack
dee0307055
DATADOC-269 - XML configuration for replica sets is not working
14 years ago
Oliver Gierke
06fb4144e0
DATADOC-261 - Added id to geoNear section of reference Documentation.
14 years ago
Oliver Gierke
5fdc600570
DATADOC-272 - Moved XSD file into correct package.
14 years ago
Oliver Gierke
f54c69b6ef
DATADOC-258 - Updated dependencies to the latest versions.
14 years ago
Oliver Gierke
decdcff79f
Added fallback references to general repository documentation.
14 years ago
Oliver Gierke
be8daa5268
Removed obsolete MongoBeanWrapper and MongoPropertyDescriptors.
14 years ago
Oliver Gierke
c4cd074d4d
DATADOC-259 - Fixed potential NullPointerException in MapingMongoConverter.writeMapInternal(…).
...
MappingMongoConverter.writeInternal(…) invoked ….writeMapInternal(…) handing in null for the TypeInformation which violated the implicit contract for the method. Made contract explicit in Javadoc and hand in plain Map TypeInformation.
14 years ago
Oliver Gierke
8b7521a93b
DATADOC-268 - CustomConversion considers types only simple for registered write converters.
...
In cases where only a reading converter is registered (e.g. to manually instantiate the object instance) the type the reading converter is registered for must not be regarded as simple as it will be written to the DBObject as is.
14 years ago
Oliver Gierke
ba508f497c
DATACMNS-72 - Adapt changes introduced in Spring Data Commons.
...
Removed references to MappingContextAware(BeanPostProcessor).
14 years ago
Oliver Gierke
091246a9aa
Polished map-reduce tests and formatted documentation with XMLEditor.
15 years ago
Oliver Gierke
745e1f313d
DATADOC-259 - MappingMongoConverter now converts Maps nested in Collections as well.
...
Fixed nested type handling in MappingMongoConverter.writeMapInternally(…). Force usage of ConversionService for simple values if read value doesn't match target type.
15 years ago