Oliver Gierke
5477ab20b2
DATAMONGO-324 - Added shortcut in MappingMongoConverter to allow reading DBObjects without conversion.
...
Added check in MappingMongoConverter.read(…) to shortcut object conversion if the requested type is DBObject.
14 years ago
Oliver Gierke
4cf3567f42
DATAMONGO-310 - MappingMongoConverter now creates native Mongo types for Maps and Collections in convertToMongoType(…).
...
MappingMongoConverter.convertToMongoType(…) not only converts elements of collections and maps but also converts the wrapper into the appropriate MongoDB type (BasicDBList, BasicDBObject).
14 years ago
Oliver Gierke
b26bb62a63
DATAMONGO-305 - Removed synchronization from Query class.
...
As Query is not intended to be thread-safe at all, we can safely remove the synchronized blocks from sort() and fields().
14 years ago
Oliver Gierke
f156d7b5af
DATAMONGO-312 - MappingMongoConverter handles complex enum types correctly.
...
If an Enum implements abstract methods, the Class object derived from ${ENUM}.getClass() does not return true for ….isEnum(). Thus we have to rather check Enum.class.isAssignableFrom(…) as this catches this scenario as well. Also see DATACMNS-99 for a related fix in simple type handling in the core infrastructure.
14 years ago
Oliver Gierke
7bf3643902
DATAMONGO-304 - Removed document subpackage from Log4jAppender module.
14 years ago
Oliver Gierke
201ae3e92d
Polished unit test.
14 years ago
Oliver Gierke
07556ec58c
DATAMONGO-323 - Annotated repository queries consider dynamic sort now.
...
Applying a Sort parameter handed into a repository query method now for string based (aka. @Query annotated) queries.
14 years ago
Oliver Gierke
39807b17e1
DATAMONGO-309 - MappingMongoConverter now correctly maps Arrays as Map values.
...
We now not only convert collection values of Maps into BasicDBLists but arrays as well.
14 years ago
Oliver Gierke
4913fe26ac
DATAMONGO-296 - Hook into Querydsl serialization to get predicate parameters converted.
...
Overrode MongoDbSerializer.asDBObject(…) and delegate to our MongoConverter to potentially convert predicate parameters. Upgraded to Querydsl 2.2.5.
14 years ago
Oliver Gierke
7642a719ff
Polishing.
...
Removed unused imports, removed compiler warnings, polished JavaDoc.
14 years ago
Oliver Gierke
6c1ce576a4
DATACMNS-98 - Reflect refactoring.
...
MongoQueryMethod now uses RepositoryMetadata.getReturnedDomainType(…) instead of the static method of ClassUtils.
14 years ago
Mark Pollack
c99882201d
DATAMONGO-234 - MongoTemplate should support the findAndModify operation to update version fields
14 years ago
Mark Pollack
ce6a64e4a9
DATAMONGO-308 - Add support for upsert methods
14 years ago
Mark Pollack
2fcc323bcd
DATAMONGO-213 - Add WriteConcern to arguments of MongoOperations.update*() methods
14 years ago
Mark Pollack
17c7b1d2b5
DATAMONGO-213 - Add WriteConcern to arguments of MongoOperations.update*() methods
14 years ago
Mark Pollack
cfefe46cd4
DATAMONGO-213 - Add WriteConcern to arguments of MongoOperations.update*() methods
...
DATAMONGO-320 - Remove use of slaveOk boolean option in MongoTemplate as it is deprecated. Replace with ReadPreference
14 years ago
Mark Pollack
64921ddad1
DATAMONGO-319 - WriteConcern not parsed correctly in namespace handlers
...
DATAMONGO-311 - Update MongoDB driver to v 2.7.x
14 years ago
Mark Pollack
edda1764fe
DATAMONGO-311 - Update MongoDB driver to v 2.7.x
...
Still investigating write_concern compatiblity as mentioned in the ticket
14 years ago
Mark Pollack
8113b79109
DATAMONGO-315 - MongoTemplate.findOne(query) methods ignore SortOrder on query
14 years ago
Mark Pollack
9fde4dff3e
DATAMONGO-195 - Add description of @Field mapping annotation to reference docs
14 years ago
Mark Pollack
d4b3e2b99d
DATAMONGO-306 - NullPointerException if mongo factory created via URI with out credentials
14 years ago
Mark Pollack
68a31d75f3
DATAMONGO-313 [Refactoring] - Use MongoOperations interface instead of MongoTemplate class
14 years ago
Mark Pollack
3e15c21419
DATAMONGO-208 - Add suppoprt for group() operation on collection in MongoOperations
14 years ago
Mark Pollack
e9f253d34f
DATAMONGO-316 - Replica Set configuration via properties file throws ArrayIndexOutOfBoundsException
14 years ago
Thomas Risberg
80aa057acb
Preparing for snapshot builds
14 years ago
Thomas Risberg
613b183b70
Preparing for 1.0.0.M5 MongoDB release
...
* Fixing spring-data-commons dependency
14 years ago
Thomas Risberg
5d1320a82a
preparing for snapshot builds
14 years ago
Thomas Risberg
8ccaf61d12
preparing for 1.0.0.M5 MongoDB release
14 years ago
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