Commit Graph

670 Commits

Author SHA1 Message Date
Mark Pollack
a13579f487 Remove duplication of IndexDefinition classes. 2011-03-31 16:49:01 -04:00
Thomas Risberg
f9f26e7668 DATADOC-48 added advice for moving changeset from detached entity to newly merged persistent entity 2011-03-31 13:43:13 -04:00
Thomas Risberg
8723d85570 DATADOC-76 added documenattion for findAndRemove 2011-03-31 09:59:53 -04:00
Thomas Risberg
bbd55fa456 DATADOC-76 added documenattion for findAndRemove 2011-03-31 09:25:19 -04:00
Thomas Risberg
52f42b29d7 DATADOC-76 added support for findAndRemove to MongoTemplate 2011-03-30 20:06:44 -04:00
Jon Brisbin
2c5d0b3893 Fix for null dbobjects causing NPEs in event framework. 2011-03-30 17:08:38 -05:00
Jon Brisbin
27ba19eac6 Tweaked the README to cover configuring the collection name using Log4J pattern. 2011-03-30 16:32:53 -05:00
Jon Brisbin
1bc042666a Merge branch 'master' of github.com:SpringSource/spring-data-document
Conflicts:
	spring-data-mongodb/src/test/java/org/springframework/data/document/mongodb/mapping/MappingTests.java
2011-03-30 16:28:01 -05:00
Jon Brisbin
9b97c27599 Use Log4J pattern to generate collection name, fix for test data cleanup. 2011-03-30 16:21:23 -05:00
Thomas Risberg
057eeb101c DATADOC-48 using the entity lifecycle for transaction synch registration 2011-03-29 21:17:16 -04:00
Thomas Risberg
bfb3db5a2e more tests for the chained Criteria support 2011-03-29 21:17:16 -04:00
Mark Pollack
c0b8a8e227 DATADOC-74 Update to version 2.4 of mongo driver 2011-03-29 18:01:10 -04:00
Jon Brisbin
8e9cf3a9b1 Fix for build, which was failing on MvcEvent being null in one of the tests. 2011-03-29 15:17:23 -05:00
J. Brisbin
1b9726c3b6 Merge branch 'master' of github.com:SpringSource/spring-data-document 2011-03-29 15:05:26 -05:00
J. Brisbin
7e5378bf60 Added events, changed tests so that application context is created before each run so that indexing is done correctly. 2011-03-29 15:05:14 -05:00
Oliver Gierke
940823778e Made MongoEntityInformation public as it's needed when extending SimpleRepositoryFactory. 2011-03-29 20:37:39 +02:00
Oliver Gierke
8a2302ec48 DATADOC-59 - Polished JavaDoc of @Query annotation. 2011-03-29 20:37:38 +02:00
J. Brisbin
c6798c9acd Merge branch 'master' of github.com:SpringSource/spring-data-document 2011-03-29 11:26:51 -05:00
J. Brisbin
084424778d Renamed log4j appender module 2011-03-29 11:26:46 -05:00
Thomas Risberg
07a343e1de renamed module spring-data-mongo-log4j to spring-data-mongodb-log4j 2011-03-29 12:11:29 -04:00
Thomas Risberg
81db620c6d fixed persistence test 2011-03-29 11:57:07 -04:00
Thomas Risberg
f2732197f5 DATADOC-38 fixed class cast exception when calling save with non ObjectId ids 2011-03-29 11:57:07 -04:00
Oliver Gierke
c10e38c9e4 Configured Maven JAR plugin to package the Bundlor generated MANIFEST.MF. 2011-03-29 08:43:44 +02:00
Thomas Risberg
6d13d36a18 DATADOC-72 added support for Mongo's $elemMatch and chained Criteria 2011-03-28 17:10:11 -04:00
Thomas Risberg
615f3f1323 DATADOC-48 improving the entity id handling for partial entity document persistence 2011-03-28 13:58:24 -04:00
Thomas Risberg
6d8ecf2cbb added mongodb-log4j module 2011-03-28 13:58:24 -04:00
Jon Brisbin
635e156bc0 JIRA: DATADOC-70: Trying to fix problem with indexes being wiped out in the tests, trying to make sure indexes get created properly. Now tests do not wipe out database automatically. 2011-03-25 13:53:16 -05:00
Thomas Risberg
0468ba3ad9 DATADOC-48 adding checks not to overwrite existing keys in changeset 2011-03-25 11:15:08 -04:00
Oliver Gierke
95510e4851 Use more readable logging output pattern. 2011-03-25 13:08:28 +01:00
Oliver Gierke
0fc3c9d6d3 Polished toString() method of Index. 2011-03-25 13:07:49 +01:00
Oliver Gierke
511128f4e7 Let Querydsl annotation processor work with @Document annotation. 2011-03-25 08:26:42 +01:00
Oliver Gierke
986203833a Fixed potential NullPointer. 2011-03-24 15:50:33 +01:00
Jon Brisbin
7ec8b30fb2 Tweaked README to reflect recent changes in timestamp handling. 2011-03-23 11:55:50 -05:00
Jon Brisbin
c24327d1bc Took out leftover crap from pom file, changed timestamp handling to use java.util.Date/ISODate objects rather than string/long. 2011-03-23 11:54:53 -05:00
Jon Brisbin
b04023f1f1 Forgot to change Maven artifactId after renaming submodule. 2011-03-23 11:11:20 -05:00
Jon Brisbin
42386d4fee Added Log4J appender submodule to main project. 2011-03-23 10:40:47 -05:00
J. Brisbin
1b5ef78741 Merge branch 'log4j-appender' 2011-03-23 10:40:47 -05:00
Thomas Risberg
168e8a8896 DATADOC-48 simplified cross-store persistence of @Document annotated fields in a JPA entity; adjusted to package chamges in data-commons; Merge commit 'f21f25fb5284a8647dea16934d660b3608d5006c' 2011-03-23 11:24:52 -04:00
Thomas Risberg
f21f25fb52 DATADOC-48 simplified cross-store persistence of @Document annotated fields in a JPA entity 2011-03-23 07:44:52 -04:00
Oliver Gierke
261c1ae293 Fixed merge conflicts after applying latest changes from master. 2011-03-23 09:27:50 +01:00
Oliver Gierke
7d7cf60e23 DATADOC-69 - Repository namespace now allows referenceing a MappingContext and picks up the default one if available. 2011-03-23 09:21:54 +01:00
Oliver Gierke
bfd79377ca Made MongoPersistentEntityIndexCreator an ApplicationListener again.
MongoPersistentEntityIndexCreator now listens to MappingContextEvents to ensure indexes for added entities *after* the initial set had been added.
2011-03-23 09:21:15 +01:00
Oliver Gierke
18b0f45985 Adapt latest changes in Spring Data Commons.
Moved functionality from MongoMappingConfigurationBuilder into MongoMappingContext. Adapted namespace parser to the removal of the MappingConfigurationBuilder component.
2011-03-23 09:19:34 +01:00
Oliver Gierke
1183789bb3 DATADOC-69 - Repository namespace now allows referenceing a MappingContext and picks up the default one if available. 2011-03-23 09:16:10 +01:00
Oliver Gierke
4dd1d0198f Removed some compiler warnings. 2011-03-23 09:14:30 +01:00
Oliver Gierke
ec7d2deca1 Made MongoPersistentEntityIndexCreator an ApplicationListener again.
MongoPersistentEntityIndexCreator now listens to MappingContextEvents to ensure indexes for added entities *after* the initial set had been added.
2011-03-23 07:45:25 +01:00
Oliver Gierke
27b6f0cb21 Adapt latest changes in Spring Data Commons.
Moved functionality from MongoMappingConfigurationBuilder into MongoMappingContext. Adapted namespace parser to the removal of the MappingConfigurationBuilder component.
2011-03-23 07:41:04 +01:00
J. Brisbin
efa6d0d8b8 Added applicationId and write concern settings. Documented them in the README. 2011-03-22 18:48:40 -05:00
Jon Brisbin
39a323099f Added README to document the Log4J appender. 2011-03-22 15:24:14 -05:00
Jon Brisbin
b22412fa98 Fixed a bug introduced in the last commit with importing a morphia exception class, added a Log4J appender module for MongoDB. 2011-03-22 15:14:43 -05:00