Commit Graph

  • 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
  • d824ed7e72 DATACMNS-21 - Override Repository methods returning Iterable. Oliver Gierke 2011-03-11 19:01:05 +01:00
  • f585beffc8 DATACMNS-20 - Adapted refactoring of Repository.findById(…) to findOne(…). Oliver Gierke 2011-03-11 18:19:45 +01:00
  • 68635687d1 DATAJPA-19 - Adapted generics and metadata changes made in core. Oliver Gierke 2011-03-11 16:32:21 +01:00
  • 60f9b05760 DATADOC-48 added additional tests for cross-store Thomas Risberg 2011-03-09 16:29:12 -05:00
  • 0ad895d6d4 DATADOC-48 added cross-store support for Mongo->JPA relationships Thomas Risberg 2011-03-08 23:28:25 -05:00
  • 5e4b5cf9e0 Removed SimpleMongoConverter from main package J. Brisbin 2011-03-08 16:50:05 -06:00
  • ff8b0a166e Fixes, handling associations J. Brisbin 2011-03-08 14:19:20 -06:00
  • 779d9d6a79 Extended SimpleMongoConverter to support registering custom types. Oliver Gierke 2011-03-08 14:32:34 +01:00
  • 40ef4d7ad9 Stripping extra, obsolete stuff. Jon Brisbin 2011-03-07 16:40:03 -06:00
  • 8949d53252 Trying to fix merge conflicts. Jon Brisbin 2011-03-07 15:50:24 -06:00
  • 1d1ee36b5a tweaks J. Brisbin 2011-03-07 15:47:10 -06:00
  • 9a4ed1987b Merging upstream changes J. Brisbin 2011-03-07 15:45:51 -06:00
  • 15768b3a44 First stab at mapping J. Brisbin 2011-03-07 15:35:30 -06:00
  • d6fd36ce00 Igore CouchDB integration tests until couchdb server is on CI build machine Mark Pollack 2011-03-07 14:56:42 -05:00
  • 0baad6740a Simple CouchDB integration Mark Pollack 2011-03-07 14:54:12 -05:00
  • 4616fb19a2 DATADOC-34 - Create indexes for repository query methods on start. Oliver Gierke 2011-02-28 14:30:42 +01:00
  • 9bc4f9ad98 Added fix for And and Or keywords to changelog. Oliver Gierke 2011-03-03 18:06:36 +01:00
  • 8f39f6616d DATADOC-48 some more cross-store tests Thomas Risberg 2011-03-03 10:16:54 -05:00
  • 716875db03 added cross-store to full build Thomas Risberg 2011-03-02 10:08:31 -05:00
  • 4d3db4fd47 DATADOC-48 adding basic cross-store features and some tests Thomas Risberg 2011-03-02 09:57:12 -05:00
  • 358fd51c4d DATADOC-48 adding basic cross-store features Thomas Risberg 2011-03-02 08:58:36 -05:00
  • 597b4374bc DATADOC-49 - Fixed And and Or keyword handling. Oliver Gierke 2011-03-02 11:16:22 +01:00
  • 6f12450be6 Changed @Query based queries to use index parameters. Oliver Gierke 2011-03-01 21:16:55 +01:00
  • 9e77e85854 Adapted signature changes of QueryLookupStrategy. Oliver Gierke 2011-03-01 21:14:35 +01:00
  • 0427abfb90 Added field attribute to @Query annotation. Oliver Gierke 2011-03-01 21:14:17 +01:00
  • 851acca320 Distinguish between getDomainClass() and getReturnedDomainClass(). Oliver Gierke 2011-03-01 21:11:31 +01:00
  • ef7178c9fa Extended ConvertingParameterAccessor to convert for getBindableValue(…) as well. Oliver Gierke 2011-03-01 21:05:43 +01:00
  • f90766d3f4 Intercept NotWriteablePropertyException on setting bean values. Oliver Gierke 2011-03-01 20:58:09 +01:00
  • eb5bbe4686 added new cross-store module Thomas Risberg 2011-02-28 16:56:35 -05:00
  • 068780c1ab DATADOC-46 - Added implementations for 'In' and 'NotIn'. Oliver Gierke 2011-02-23 10:54:09 +01:00
  • 3caa88a2da DATADOC-47 - Adapted changes of DATACMNS-17. Oliver Gierke 2011-02-24 17:29:17 +00:00
  • 86cc313d80 Quick fix for missing createIsNewStrategy(…). Oliver Gierke 2011-02-24 17:37:36 +00:00
  • 32cb21eed6 Add JMX documentation Mark Pollack 2011-02-23 11:39:03 -03:00
  • f171b5b3ee updated aws build extension to work with Maven 2.2.1 Thomas Risberg 2011-02-16 17:03:24 -05:00
  • 3604f88322 Fixed logger access method. Oliver Gierke 2011-02-16 21:00:16 +01:00
  • 8f851310cc DATADOC-24 - Added support for using @Query on Mongo repository methods. Oliver Gierke 2011-02-16 20:17:19 +01:00
  • 53f71a068c preparing for snapshot builds Thomas Risberg 2011-02-14 23:51:53 -05:00
  • c60232315b preparing for 1.0.0.M1 MongoDB release Thomas Risberg 2011-02-14 23:40:57 -05:00
  • 49bae2a0e5 tweaking the build Thomas Risberg 2011-02-14 22:42:39 -05:00
  • a77de6e228 tweaking the build Thomas Risberg 2011-02-14 22:23:41 -05:00
  • 9ff5f6426e DATADOC-30 updated documenation Thomas Risberg 2011-02-14 18:53:20 -05:00
  • 750fb907e3 added Enum support for BasicUpdate; tweaking the Criteria support Thomas Risberg 2011-02-14 18:53:10 -05:00
  • 202837e349 added Enum support for Update and Query Thomas Risberg 2011-02-14 16:58:02 -05:00
  • e12ac23131 DATADOC-30 updated documenation Thomas Risberg 2011-02-14 16:03:05 -05:00
  • e734277c3c tweaking the MongoOperstions API for consistency across methods Thomas Risberg 2011-02-14 15:48:12 -05:00
  • 8884205234 DATADOC-30 updated documenation Thomas Risberg 2011-02-14 12:47:35 -05:00