J. Brisbin
1b9726c3b6
Merge branch 'master' of github.com:SpringSource/spring-data-document
15 years ago
J. Brisbin
7e5378bf60
Added events, changed tests so that application context is created before each run so that indexing is done correctly.
15 years ago
Oliver Gierke
940823778e
Made MongoEntityInformation public as it's needed when extending SimpleRepositoryFactory.
15 years ago
Oliver Gierke
8a2302ec48
DATADOC-59 - Polished JavaDoc of @Query annotation.
15 years ago
J. Brisbin
c6798c9acd
Merge branch 'master' of github.com:SpringSource/spring-data-document
15 years ago
J. Brisbin
084424778d
Renamed log4j appender module
15 years ago
Thomas Risberg
07a343e1de
renamed module spring-data-mongo-log4j to spring-data-mongodb-log4j
15 years ago
Thomas Risberg
81db620c6d
fixed persistence test
15 years ago
Thomas Risberg
f2732197f5
DATADOC-38 fixed class cast exception when calling save with non ObjectId ids
15 years ago
Oliver Gierke
c10e38c9e4
Configured Maven JAR plugin to package the Bundlor generated MANIFEST.MF.
15 years ago
Thomas Risberg
6d13d36a18
DATADOC-72 added support for Mongo's $elemMatch and chained Criteria
15 years ago
Thomas Risberg
615f3f1323
DATADOC-48 improving the entity id handling for partial entity document persistence
15 years ago
Thomas Risberg
6d8ecf2cbb
added mongodb-log4j module
15 years ago
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.
15 years ago
Thomas Risberg
0468ba3ad9
DATADOC-48 adding checks not to overwrite existing keys in changeset
15 years ago
Oliver Gierke
95510e4851
Use more readable logging output pattern.
15 years ago
Oliver Gierke
0fc3c9d6d3
Polished toString() method of Index.
15 years ago
Oliver Gierke
511128f4e7
Let Querydsl annotation processor work with @Document annotation.
15 years ago
Oliver Gierke
986203833a
Fixed potential NullPointer.
15 years ago
Jon Brisbin
7ec8b30fb2
Tweaked README to reflect recent changes in timestamp handling.
15 years ago
Jon Brisbin
c24327d1bc
Took out leftover crap from pom file, changed timestamp handling to use java.util.Date/ISODate objects rather than string/long.
15 years ago
Jon Brisbin
b04023f1f1
Forgot to change Maven artifactId after renaming submodule.
15 years ago
Jon Brisbin
42386d4fee
Added Log4J appender submodule to main project.
15 years ago
J. Brisbin
1b5ef78741
Merge branch 'log4j-appender'
15 years ago
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'
15 years ago
Thomas Risberg
f21f25fb52
DATADOC-48 simplified cross-store persistence of @Document annotated fields in a JPA entity
15 years ago
Oliver Gierke
261c1ae293
Fixed merge conflicts after applying latest changes from master.
15 years ago
Oliver Gierke
7d7cf60e23
DATADOC-69 - Repository namespace now allows referenceing a MappingContext and picks up the default one if available.
15 years ago
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.
15 years ago
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.
15 years ago
Oliver Gierke
1183789bb3
DATADOC-69 - Repository namespace now allows referenceing a MappingContext and picks up the default one if available.
15 years ago
Oliver Gierke
4dd1d0198f
Removed some compiler warnings.
15 years ago
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.
15 years ago
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.
15 years ago
J. Brisbin
efa6d0d8b8
Added applicationId and write concern settings. Documented them in the README.
15 years ago
Jon Brisbin
39a323099f
Added README to document the Log4J appender.
15 years ago
Jon Brisbin
b22412fa98
Fixed a bug introduced in the last commit with importing a morphia exception class, added a Log4J appender module for MongoDB.
15 years ago
Oliver Gierke
67b5a1c99b
Tweaks to index creation handling.
...
Renamed MappingConfigurationHelper to MongoPersistentEntityIndexCreator as this is the purpose of the class. Refactored it not be ApplicationContextAware, Initializing bean but rather simply use the injected MongoMappingContext and MongoTemplate to trigger index creation. Added base-package parsing for entities annotated with @Persistent and @Document to be added to the MappingContext. Moved createPersistentEntity and createPersistentProperty methods into MongoMappingContext.
15 years ago
Jon Brisbin
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.
15 years ago
Jon Brisbin
84aba45895
Put addPersistentEntity calls into a dedicated ApplicationEvent listener bean that gets populated by the classpath scanning done in the namespace parser.
15 years ago
Jon Brisbin
537e2e71c4
Fix for bug in handling arrays, deleted extraneous test class.
15 years ago
Jon Brisbin
a1ef9abef2
Fixes for handling Arrays, had to change index creation from event-based to synchronous for simplicity's sake.
15 years ago
Oliver Gierke
d01867b072
Fixed broken test.
...
Removed wiring a MongoTemplate as constructor argument for MongoMappingConfigurationBuilder.
15 years ago
Jon Brisbin
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.
15 years ago
Oliver Gierke
5df34cec70
@SuppressedWarning cleanups.
15 years ago
Oliver Gierke
bea1ed9cbe
Ignore MappingTests in the meantime to get the build working.
15 years ago
Oliver Gierke
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.
...
Removed obsolete code (probably introduced by invalidly resolving a merge conflict).
15 years ago
Oliver Gierke
d69b890a70
DATADOC-40 - Repositories now pick up collection name from mapping metadata if available.
...
We also pick up the ID attribute to be used to determine isNew(…) if the RepositoryFactoryBean gets a MappingContext injected. Collection name of mapping defaults to the simple class name.
15 years ago
Jon Brisbin
d215004f92
Added a namespacehandler and broke all the tests. :)
15 years ago
Mark Pollack
c4fdc54ffe
Merge remote branch 'origin/master'
15 years ago