Oliver Gierke
bfb13d99e3
DATADOC-280 - Added maxAutoConnectRetryTime config option.
...
Extended MongoOperationsFactoryBean to carry maxAutoConnectRetryTime property and exposed that through the XML namespace.
2011-09-27 13:59:50 +02:00
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.
2011-09-27 11:48:20 +02:00
Oliver Gierke
3bdeb68617
DATADOC-278 - QueryMapper now converts ids for $ne correctly.
2011-09-27 10:43:02 +02:00
Oliver Gierke
6b40a27c92
DATACMNS-76 - Adapt changes of Spring Data Commons.
2011-09-26 20:21:58 +02:00
Oliver Gierke
237cbec945
DATADOC-284 - Added custom SpringDataMongodbSerializer.
...
The custom MongodbSerializer considers mapping information when building keys for the Querydsl queries to be executed.
2011-09-26 20:18:47 +02:00
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.
2011-09-15 12:00:03 +02:00
Oliver Gierke
73b2d5a99c
DATADOC-270 - Removed critical Sonar warnings from codebase.
2011-09-14 15:34:29 +02:00
Oliver Gierke
5dab0c721e
DATADOC-277 - Upgraded to Querydsl 2.2.2.
2011-09-14 11:49:36 +02:00
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.
2011-09-14 11:47:55 +02:00
Oliver Gierke
135742b7e4
Fixed potential NullPointException in debug level in MongoQueryCreator.
2011-09-14 11:38:58 +02:00
Mark Pollack
dee0307055
DATADOC-269 - XML configuration for replica sets is not working
2011-09-13 12:17:40 -04:00
Oliver Gierke
06fb4144e0
DATADOC-261 - Added id to geoNear section of reference Documentation.
2011-09-07 13:46:11 +02:00
Oliver Gierke
5fdc600570
DATADOC-272 - Moved XSD file into correct package.
2011-09-07 13:29:06 +02:00
Oliver Gierke
f54c69b6ef
DATADOC-258 - Updated dependencies to the latest versions.
2011-09-07 11:53:54 +02:00
Oliver Gierke
decdcff79f
Added fallback references to general repository documentation.
2011-09-07 11:51:28 +02:00
Oliver Gierke
be8daa5268
Removed obsolete MongoBeanWrapper and MongoPropertyDescriptors.
2011-09-07 11:50:04 +02:00
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.
2011-09-07 11:24:50 +02:00
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.
2011-09-07 10:25:44 +02:00
Oliver Gierke
ba508f497c
DATACMNS-72 - Adapt changes introduced in Spring Data Commons.
...
Removed references to MappingContextAware(BeanPostProcessor).
2011-09-07 08:14:48 +02:00
Oliver Gierke
091246a9aa
Polished map-reduce tests and formatted documentation with XMLEditor.
2011-09-04 14:00:09 +02:00
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.
2011-09-04 13:57:43 +02:00
Mark Pollack
234e04f4a3
minor doc fices
2011-09-02 19:27:36 -04:00
Thomas Risberg
15ab529596
preparing for snapshot builds
2011-09-01 20:37:40 -04:00
Thomas Risberg
00bea23eed
preparing for 1.0.0.M4 MongoDB release
1.0.0.M4-MongoDB
2011-09-01 20:32:10 -04:00
Thomas Risberg
c646c1f3b2
Updated changelog for 1.0.0.M4 MongoDB
2011-09-01 20:23:48 -04:00
Thomas Risberg
069f491603
DATADOC-232 added unit tests for multi set and inc updates
2011-09-01 18:56:16 -04:00
Thomas Risberg
e426ba4d43
DATADOC-210 removed Java 6 only method to provide Java 5 compatibility
2011-09-01 18:56:16 -04:00
Mark Pollack
756f886cef
DATADOC-7 - Support for map-reduce operations in MongoTemplate
2011-09-01 18:03:32 -04:00
Thomas Risberg
9bb42245bb
changed the test for index names since they don't seem to be consistent
2011-09-01 17:52:21 -04:00
Thomas Risberg
c15263a259
updated .gitignore
2011-09-01 17:51:46 -04:00
Mark Pollack
758ee97a8d
DATADOC-7 - Support for map-reduce operations in MongoTemplate
2011-09-01 16:34:52 -04:00
Mark Pollack
4f92690f58
DATADOC-255 - Add to MongoOperations and executeCommand with an additional integer options argument
...
DATADOC-256 - Update to use MongoDB driver version 2.6.5
DATADOC-7 - Support for map-reduce operations in MongoTemplate
2011-09-01 15:33:55 -04:00
Mark Pollack
595ed69820
DATADOC-255 - Add to MongoOperations and executeCommand with an additional integer options argument
...
DATADOC-256 - Update to use MongoDB driver version 2.6.5
DATADOC-7 - Support for map-reduce operations in MongoTemplate
2011-09-01 15:33:13 -04:00
Oliver Gierke
48bf08afa3
DATADOC-68 - Updated documentation regading geoNear usage with MongoOperations.
2011-09-01 17:32:27 +02:00
Mark Pollack
98bdae4a00
DATADOC-7 (Add initial options class for Map reduce)
2011-09-01 11:19:54 -04:00
Mark Pollack
f08b87d8d6
DATADOC-7 (Add initial options class for Map reduce)
2011-09-01 10:35:12 -04:00
Oliver Gierke
6c3ffeac5f
Merge branch 'geo-repo'
...
* geo-repo:
DATADOC-68 - Support for geo-near queries at repositories.
2011-09-01 00:33:38 +02:00
Oliver Gierke
490ddc4a0e
DATADOC-254 - Reject invalid MongoDB database names.
...
Only letters, numbers underscores and dashes are now allowed.
2011-09-01 00:29:55 +02:00
Oliver Gierke
ae26f4fea1
DATADOC-68 - Support for geo-near queries at repositories.
2011-09-01 00:28:48 +02:00
Oliver Gierke
e9ea756a3a
DATADOC-253 - Upgraded to Spring 3.0.6.
2011-08-31 20:32:30 +02:00
Oliver Gierke
c4c95813b7
DATADOC-199 - Added caching for MongoPersistentProperty.isIdProperty and ….getFieldName.
...
Continuous field and annotation lookups in those methods have turned out to be some hotspots in performance tests. Added a CachingMongoPersistentProperty that delegates to the actual implementation once and caching it.
2011-08-31 19:41:04 +02:00
Mark Pollack
bfeb1b34c1
DATADOC-170 - Streamlined AbstractMongoEventListener (fix test)
2011-08-30 10:30:23 -04:00
Oliver Gierke
44def7dddb
DATADOC-170 - Streamlined AbstractMongoEventListener.
...
Renamed Abstract{Mapping => Mongo}EventListener. Removed generic typing for the MongoMappingEvent and stick to domain type generification only.
2011-08-29 23:04:43 +02:00
Mark Pollack
df10bb2168
DATADOC-202 - Add a 'DocumentCallbackHandler' so that a callback can process each DBObject returned from a query (cherry-picking from commit 2ddc77c25e09a81ee61b3931337b35ae9a67b6e5)
2011-08-29 14:48:35 -04:00
Mark Pollack
f98607f5dc
Add integration tests for mapping events
2011-08-29 11:46:05 -04:00
Oliver Gierke
da23133327
Yet another round of formatting.
...
Added Eclipse formatter settings.
2011-08-26 20:26:06 +02:00
Oliver Gierke
ce5046c35f
DATADOC-63 - Added TypeMapper abstraction to customize how type information is written to a DBObject and retrieved from it.
...
Added TypeMapper abstraction to allow plugging in a custom implementation. Current type handling logic is now in DefaultTypeMapper which additionally allows customizing the key the type information its stored under or disabling writing type info by setting the key to null.
Added ConfigurableTypeMapper implementation that gets a Map configured to define Strings to be used to store type information.
2011-08-26 20:20:38 +02:00
Oliver Gierke
95245015bc
DATADOC-245 - Default to custom target type if raw type is null.
...
Really only use the custom target type in case it is a real subtype of the basic one. Before that we used the plain custom one which was is lacking generics information potentially available in the basic one.
2011-08-26 13:44:47 +02:00
Oliver Gierke
fc40e6b08c
DATADOC-243 - Allow db-factory-ref attribute for converter-element.
2011-08-24 16:51:56 +02:00
Oliver Gierke
eac5cb8c46
DATADOC-247 - BigInteger ids handled properly in QueryMapper.
...
QueryMapper now tries to convert given ids to ObjectId and String.
2011-08-24 16:31:18 +02:00