Oliver Gierke
ac4b27159b
DATADOC-161 - MappingMongoConverter now supports nested Maps as well.
...
Extracted method to handle reading Maps which is now also able to recursively resolve nested maps by using the generics information.
2011-06-02 11:47:00 +02:00
Thomas Risberg
e8b130691c
updated changelog for M3
2011-06-01 22:11:44 -04:00
Thomas Risberg
836b5ad258
DATADOC-160 refactoring to make parameter ordering more consistent, especially for string parameter specifying collection name override; renamed insertList methods; removed unnecessary methods
2011-06-01 22:08:09 -04:00
Thomas Risberg
dc9f96908f
DATADOC-157 reformatted; changing spaces back to tabs for indentation
2011-06-01 19:20:05 -04:00
Thomas Risberg
f9fdbb469f
updated changelog for M3
2011-06-01 13:03:57 -04:00
Thomas Risberg
134996d079
DATADOC-146 added overloaded regex method taking options parameter
2011-06-01 10:14:22 -04:00
Thomas Risberg
25b9a56030
DATADOC-156 added some more tests around different id types and in queries
2011-06-01 08:48:44 -04:00
Thomas Risberg
2c585d49d6
removed duplicate dependency from pom; removed reference to removed module from assembly
2011-05-31 23:03:59 -04:00
Thomas Risberg
7bed1264b1
DATADOC-157 - changed order parameters are declared for JavaDoc
2011-05-31 22:54:21 -04:00
Thomas Risberg
523d48759f
DATADOC-155 removed print to sysout; polished
2011-05-31 22:50:00 -04:00
Thomas Risberg
1a5bffb52a
DATADOC-155 added more tests for id properties; fixed mapping issue where String id wasn't converted to ObjectId properly
2011-05-31 22:45:09 -04:00
Thomas Risberg
467f7c61af
DATADOC-158 changed to use Spring;s StringUtils
2011-05-31 22:35:26 -04:00
Thomas Risberg
89e83d1f69
fixed NPE during document processing by changing to correct language for programlisting element
2011-05-31 17:45:11 -04:00
Mark Pollack
b4b61a96e9
DATADOC-156 - MongoOperations.find(query(where("id").in(ids)) fails where ids aren't ObjectIds
2011-05-31 16:09:37 -04:00
Mark Pollack
131a2912e9
DATADOC-157 - MongoTemplate updateFirst/updateMulti methods to take java.lang.Class parameter as last in method param list to be consistent with other usage
2011-05-31 15:55:13 -04:00
Mark Pollack
b4236bdd78
More tests for DATADOC-155 - Need to support plain POJOs with non-ObjectId-compatible ID properties
2011-05-31 15:44:17 -04:00
J. Brisbin
43d0f74a3e
Initial stab at changing the way IDs are handled in the mapping converter.
2011-05-31 13:21:03 -05:00
Oliver Gierke
aeea1bc5d5
Added @PersistenceConstructor to Circle.
2011-05-31 13:54:10 +01:00
Oliver Gierke
187f087270
Minor generics polishing in test cases.
2011-05-30 12:05:08 +02:00
Mark Pollack
115d419d0a
comment back in geo tests.
2011-05-27 16:43:18 -04:00
Mark Pollack
e0bd465649
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
2011-05-27 16:40:38 -04:00
J. Brisbin
6a73e94c57
DATADOC-155 - Add support for any type for id properties, not just the ones that can be converted into an ObjectId
2011-05-27 14:22:58 -05:00
Mark Pollack
7ea14bb4d5
Add failing test PersonPojoWithPrimitiveIdTests
...
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
2011-05-27 13:13:23 -04:00
J. Brisbin
bfc4bc2100
Added clean-up step for new primitive ID tests, cleanup up unused imports in MappingTests.java
2011-05-25 13:03:38 -05:00
Mark Pollack
842c87389d
remove extraneous import
2011-05-25 13:50:16 -04:00
J. Brisbin
e751666f90
Added test and a fix around using primitive ints as IDs
2011-05-25 12:39:36 -05:00
Mark Pollack
f2305681d3
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
2011-05-25 00:30:10 -04:00
Mark Pollack
fb39f01f25
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location
...
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
2011-05-24 22:09:12 -04:00
Mark Pollack
e1f8eee2d1
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location
...
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
2011-05-24 18:07:18 -04:00
Mark Pollack
c7c2a66c3b
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location
2011-05-24 17:24:08 -04:00
Mark Pollack
69b1b9b96b
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location
2011-05-24 17:23:02 -04:00
Mark Pollack
2284a5137e
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location
2011-05-24 17:17:54 -04:00
Mark Pollack
46e2cf698e
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
2011-05-24 16:15:14 -04:00
Mark Pollack
1087b07086
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
2011-05-24 13:44:43 -04:00
Oliver Gierke
d55505f1e5
DATADOC-130 - Added custom converters for Locale and Character.
...
Register a custom converter for Locale and Character classes by default as we have to consider them simple (as they must not be inspected during mapping) but the have to be converted to String values before being handed over to Mongo.
2011-05-24 18:39:24 +02:00
Oliver Gierke
de06029ea2
Updated reference documentation for Mongo repositories.
2011-05-24 17:36:00 +02:00
Oliver Gierke
4d33c9c360
DATADOC-149 - Removed constructor not taking a MongoDbFactory as well as setter for it from MappingMongoConverter.
2011-05-24 17:32:23 +02:00
Oliver Gierke
8474a28538
Adapted introduction of BeanWrapper in Spring Data Commons.
...
Moved code dealing with the ConversionService into AbstractMongoConverter. Added getConversionService() to MongoConverter interface. Replaced usage of MappingBeanHelper with BeanWrapper usage.
2011-05-24 16:03:49 +02:00
Thomas Risberg
edba941dd0
DATADOC-83 - removed the spring-data-document-core module; move @RelatedDocument to the spring-data-mongodb-cross-store module; renamed "org.springframework.data.persistence.document.mongo" package
2011-05-24 10:00:06 -04:00
Mark Pollack
c75218387b
DATADOC-42 - Provide option for configuring replica sets using the Mongo namespace
2011-05-24 02:08:17 -04:00
Mark Pollack
2e5906fa56
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
2011-05-24 00:57:39 -04:00
Mark Pollack
c6c3dfef15
DATADOC-42 - Provide option for configuring replica sets using the Mongo namespace (partial work)
2011-05-24 00:57:03 -04:00
Mark Pollack
43925c9cf6
add logging to some collection operations
2011-05-24 00:55:49 -04:00
Mark Pollack
3893eb126d
DATADOC-83 - Review dependencies
2011-05-24 00:55:30 -04:00
Mark Pollack
c8e16318e8
DATADOC-83 - Review dependencies
2011-05-24 00:49:17 -04:00
Mark Pollack
c48f892124
DATADOC-83 - Review dependencies
2011-05-23 23:16:43 -04:00
Mark Pollack
4c01993666
DATADOC-138 - Expose all properties of MongoOptions classin Mongo namespace
...
DATADOC-135 - <mongo:options /> should use - instead of camel case to be consistent with other atrtibute names
2011-05-23 23:08:07 -04:00
Oliver Gierke
bf8b85ef98
Fixed invalid exception in looking up a type hint from DBObject.
...
So far the implementation of MappingMongoConverter.findTypeToBeUsed(…) threw an exception if it found a type hind but couldn't load the class. This causes issues when the class names change where the document still contains 'old' type information. Not being able to load a class should simply be considered as no type information found, thus we're returning null now. Updated Javadoc accordingly.
2011-05-24 00:42:09 +02:00
Thomas Risberg
974faec6dd
DATADOC-88 fixed missing propagation of host/port when no nested <mongo> element provided
2011-05-23 13:33:09 -04:00
Thomas Risberg
b5e83d4350
DATADOC-105 added list of jars need for builds not using Maven
2011-05-23 12:46:28 -04:00