1183789bb3
DATADOC-69 - Repository namespace now allows referenceing a MappingContext and picks up the default one if available.
Oliver Gierke
2011-03-23 09:12:07 +01:00
4dd1d0198f
Removed some compiler warnings.
Oliver Gierke
2011-03-23 07:45:43 +01:00
ec7d2deca1
Made MongoPersistentEntityIndexCreator an ApplicationListener again.
Oliver Gierke
2011-03-23 07:45:25 +01:00
27b6f0cb21
Adapt latest changes in Spring Data Commons.
Oliver Gierke
2011-03-23 07:41:04 +01:00
efa6d0d8b8
Added applicationId and write concern settings. Documented them in the README.
J. Brisbin
2011-03-22 18:48:40 -05:00
39a323099f
Added README to document the Log4J appender.
Jon Brisbin
2011-03-22 15:24:14 -05:00
b22412fa98
Fixed a bug introduced in the last commit with importing a morphia exception class, added a Log4J appender module for MongoDB.
Jon Brisbin
2011-03-22 15:14:43 -05:00
67b5a1c99b
Tweaks to index creation handling.
Oliver Gierke
2011-03-22 21:07:19 +01:00
027a67dd1b
Reorganized how index creation and initial entity registration are handled. It now happens when the context is refreshed and any time entities are registered with addPersistentEntity via synchronous ApplicationEvent dispatching.
Jon Brisbin
2011-03-22 13:54:26 -05:00
84aba45895
Put addPersistentEntity calls into a dedicated ApplicationEvent listener bean that gets populated by the classpath scanning done in the namespace parser.
Jon Brisbin
2011-03-22 11:16:35 -05:00
537e2e71c4
Fix for bug in handling arrays, deleted extraneous test class.
Jon Brisbin
2011-03-21 12:02:05 -05:00
a1ef9abef2
Fixes for handling Arrays, had to change index creation from event-based to synchronous for simplicity's sake.
Jon Brisbin
2011-03-21 11:41:08 -05:00
d01867b072
Fixed broken test.
Oliver Gierke
2011-03-21 16:49:22 +01:00
07188d2a27
Fixed namespace handler support, added a MappingContextEvent listener for (asynchronously) creating indexes whenever entities are registered with the mapper. Removed that part of the code from the MongoMappingConfigurationBuilder, which means it no longer has that dependency on MongoTemplate. Also tweaked some afterPropertiesSet methods to try and reduce the problem of chicken-and-egg dependencies within mapping components.
Jon Brisbin
2011-03-18 09:56:18 -05:00
5df34cec70
@SuppressedWarning cleanups.
Oliver Gierke
2011-03-18 07:59:49 +01:00
bea1ed9cbe
Ignore MappingTests in the meantime to get the build working.
Oliver Gierke
2011-03-18 07:59:36 +01:00
f41e60a264
Prefer considering the value type over the property type at the decision whether to recursively map an object or simply write it as plain value.
Oliver Gierke
2011-03-17 23:04:28 +01:00
d69b890a70
DATADOC-40 - Repositories now pick up collection name from mapping metadata if available.
Oliver Gierke
2011-03-17 23:02:51 +01:00
d215004f92
Added a namespacehandler and broke all the tests. :)
Jon Brisbin
2011-03-17 15:23:24 -05:00
c4fdc54ffe
Merge remote branch 'origin/master'
Mark Pollack
2011-03-17 15:36:39 -04:00
cb2cd48ca1
Ignore Thumbs.db
Mark Pollack
2011-03-17 15:36:30 -04:00
f0c4f3e75f
Drop back to using LinkedBlockingQueue because the Deque version is Java 6.0
Jon Brisbin
2011-03-17 13:09:03 -05:00
6540c23413
Added event handling capabilities based on Spring 2.0 ApplicationEvent abstractions. Publishes events into the current ApplicationContext to expose internal mapping events to listeners declared in the current ApplicationContext.
Jon Brisbin
2011-03-17 11:57:07 -05:00
49e3f2b8c7
Improved handling of custom converters.
Oliver Gierke
2011-03-17 14:34:36 +01:00
30e4c4330b
Tweaks after merging Jon's latest changes.
Oliver Gierke
2011-03-17 10:31:08 +01:00
c4701d18f6
Tweaked unit test to use mock ApplicationContext.
Oliver Gierke
2011-03-17 10:10:34 +01:00
4629ebdcfe
Tweaked MappingMongoConverter to prefer custom Converters.
Oliver Gierke
2011-03-17 09:44:14 +01:00
611793d5c7
Improved handling of custom converters in SimpleMongoConverter.
Oliver Gierke
2011-03-17 09:36:01 +01:00
74df4349ed
Use DBRefs instead of DBObjects so that save() will work. Now requires that a Mongo instance be set on the MappingMongoConverter, which is done from afterPropertiesSet() on the template.
Jon Brisbin
2011-03-16 08:48:25 -05:00
b6c3760e78
Fixed ConversionService handling in SimpleMongoConverter.
Oliver Gierke
2011-03-16 11:52:28 +01:00
f747f3df60
Only consider properties that are backed by a field actually.
Oliver Gierke
2011-03-16 11:47:06 +01:00
4b7d96347c
ignore the eclipse project files
Thomas Risberg
2011-03-15 23:35:54 -04:00
d223a9817a
added test scope
Thomas Risberg
2011-03-15 15:08:19 -04:00
fed97a3134
Add setter for WriteResutlChecking and MongoConverter
Mark Pollack
2011-03-15 17:01:19 -04:00
0492b189af
Added some @SuppressWarnings where necessary.
Oliver Gierke
2011-03-15 20:39:03 +01:00
8b16502b2a
Re-added dependency to Mongo driver.
Oliver Gierke
2011-03-15 20:06:16 +01:00
673c70b7de
DATADOC-41 - Initial version of QueryDsl integration for Mongo DB.
Oliver Gierke
2011-02-14 14:22:15 +01:00
e3bee8ab0e
restored missing dependencies
Thomas Risberg
2011-03-15 13:20:47 -04:00
032de81478
Format, organize imports, remove eclipse artifacts
J. Brisbin
2011-03-15 11:57:55 -05:00
d4f358abd0
Adapted introduction of TypeInformation in Spring Data Commons Core.
Oliver Gierke
2011-03-15 17:29:18 +01:00
408294c93f
Merging into master
J. Brisbin
2011-03-15 09:05:59 -05:00
65d7a7feaf
Preparing to merge into branch master
Jon Brisbin
2011-03-15 09:01:29 -05:00
784ee634b6
Merge branch 'master' of github.com:SpringSource/spring-data-document into spring-data-mapping
J. Brisbin
2011-03-15 08:58:46 -05:00
f2119ed235
Added Spring Milestone plugin repository to find AspectJ.
Oliver Gierke
2011-03-15 08:44:44 +01:00
e9957ea718
remove reference to src/main/resoures as eclipse was complianing
Mark Pollack
2011-03-14 12:33:21 -04:00
21048f211d
Tweaks to tests, BasePerson class, common inheritance to test classes, tweaks to complex/simple type detection.
Jon Brisbin
2011-03-14 10:58:36 -05:00
255fbb3379
Merge branches 'master' and 'spring-data-mapping' of github.com:SpringSource/spring-data-document into spring-data-mapping
J. Brisbin
2011-03-14 08:28:30 -05:00
47b8523cb3
Removed Mongo specific id handling from ConfigurationBuilder.
Oliver Gierke
2011-03-12 11:55:17 +01:00
d92c7e2ff5
Merge branch 'spring-data-mapping' of github.com:SpringSource/spring-data-document into spring-data-mapping
J. Brisbin
2011-03-12 20:09:21 -06:00
c365830b2c
Fixes for bug skipping fields in superclasses
J. Brisbin
2011-03-12 20:03:23 -06:00
2947bfeaa6
Removed @Override annotations as they cannot be used at interfaces with Java 5.
Oliver Gierke
2011-03-12 08:36:42 +01:00
01a800b2cc
DATACMNS-20 - Adapted refactoring of Repository.findById(…) to findOne(…).
Oliver Gierke
2011-03-11 18:19:45 +01:00
4daab96bc4
DATAJPA-19 - Adapted generics and metadata changes made in core.
Oliver Gierke
2011-03-11 16:32:21 +01:00
e66f95bcf8
spring-data-commons object mapping support for MongoDB
J. Brisbin
2011-03-11 16:39:39 -06:00