Commit Graph

46 Commits

Author SHA1 Message Date
Mark Paluch
72f461ae30 DATAMONGO-1858 - Fix line endings to LF. 2018-01-24 12:57:54 +01:00
Mark Paluch
97da43645a DATAMONGO-1380 - Polishing.
Add credits, use message formatting instead string concatenation.

Original pull request: #317.
2016-02-11 12:02:09 +01:00
Alex Vengrovsk
42b7c42617 DATAMONGO-1380 - Improve logging in MongoChangeSetPersister.
Add checking for debug enabling in the getPersistentId method

Original pull request: #317.
2016-02-11 11:53:15 +01:00
Oliver Gierke
cf3a9d3ced DATAMONGO-1337 - Reverted making some of the loggers static.
The logger instance in AbstractMonitor is supposed to pick up the type of the actual implementation class and thus cannot be static.

Related pull request: #336.
2015-11-26 12:00:40 +01:00
Christian Ivan
1d1c80db7b DATAMONGO-1337 - General code quality improvements.
A round of code polish regarding the PMD and Squid rules referred to in the ticket.

Original pull request: #336.
2015-11-26 11:53:06 +01:00
Oliver Gierke
af4b84ea43 DATAMONGO-835 - Code cleanups. 2014-01-28 12:46:36 +01:00
Thomas Darimont
bfe33a446c DATAMONGO-728 - Added missing package-info files. 2013-07-23 16:32:38 +02:00
Oliver Gierke
04e0f5c4a7 DATAMONGO-642 - MongoChangeSetPersister now considers mapped collection.
So far the change set persister has used the plain domain type name to persist data. We now consider the collection name defined by the object mapping (through @Document(collection = "…")).
2013-04-02 11:42:36 +02:00
Oliver Gierke
a237999037 DATAMONGO-598 - Upgraded to new build infrastructure.
Fixed test ordering issue in Cross-Store module.
2013-01-18 14:45:48 +01:00
Oliver Gierke
6977fa87e6 DATAMONGO-573 - Moved to Logback for test logging. 2012-11-13 17:54:19 +01:00
Oliver Gierke
883bfbe79e Added Eclipse formatter settings.
Formatted cross-store module with the Spring Data formatter.
2012-04-16 15:29:48 +02:00
Oliver Gierke
1554d489ca DATACMNS-73 - Fixed package imports in DocumentBacking aspect. 2011-10-12 15:05:02 +02:00
Oliver Gierke
f030d304f4 DATADOC-271, DATACMNS-73 - Adapted changes of SD Commons. 2011-10-12 14:40:42 +02:00
Oliver Gierke
105e1da82b DATADOC-271 - Added license headers to cross-store files. 2011-10-12 14:30:21 +02:00
Thomas Risberg
ccf981b8fb DATADOC-271 Re-packaging Mongo cross-store support, removing 'document' in package name 2011-10-12 08:16:43 -04:00
Thomas Risberg
1c2c592b96 DATADOC-271 Re-packaging Mongo cross-store support, removing 'document' in package name 2011-10-12 07:08:34 -04:00
Oliver Gierke
73b2d5a99c DATADOC-270 - Removed critical Sonar warnings from codebase. 2011-09-14 15:34:29 +02:00
Oliver Gierke
523612a3a9 DATADOC-175 - Broke up cyclic dependencies and added architecture management file.
Added initial architecture description for Sonargraph. Moved some types around and introduced core package to break up cyclic dependencies.
2011-07-13 11:57:38 +02:00
Oliver Gierke
4b4c35b904 DATADOC-191 - Removed 'document' from package names.
Polished template.mf as well by using Maven version placeholders.
2011-07-08 11:25:43 +02:00
Mark Pollack
2284a5137e DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location 2011-05-24 17:17:54 -04:00
Thomas Risberg
edba941dd0 DATADOC-83 - removed the spring-data-document-core module; move @RelatedDocument to the spring-data-mongodb-cross-store module; renamed "org.springframework.data.persistence.document.mongo" package 2011-05-24 10:00:06 -04:00
Thomas Risberg
4356297421 Changed tests to use 'database' as the database name except for the repositories tests 2011-05-20 16:11:33 -04:00
Thomas Risberg
60774dca26 DATADOC-88 switched test config files to use MongoDbFactory 2011-05-18 10:20:33 -04:00
Thomas Risberg
e4fdabba1d DATADOC-117 removed defaultCollection on MongoTemplate/Operations; changed getDefaultCollectionName to getCollectionName(Class clazz) to determine collection name used for specific class; added a class parameter where necessary 2011-05-04 18:34:15 -04:00
Thomas Risberg
8ed9e3930b changed to source 1.5; removed overrides on interface methods 2011-04-08 19:53:27 -04:00
Thomas Risberg
76b9922e35 DATADOC-48 moved clearing change-set values to postRemove lifecycle 2011-04-08 00:55:47 -04:00
Thomas Risberg
bcbacf981d DATADOC-48 added more complexity to test 2011-04-06 18:49:45 -04:00
Thomas Risberg
c5c8a78acb added test for $in 2011-04-06 18:49:45 -04:00
Thomas Risberg
1b4edb35b0 DATADOC-48 added new @RelatedDocument annotation 2011-04-06 11:39:51 -04:00
Jon Brisbin
3fdd43bef8 DATADOC-78: Added code to MongoTemplate to check for overriden collection name when saving an entity without specifying a collection. Removed SLF4J from source code and reverted to commons-logging API for internal logging. 2011-04-04 15:14:42 -05:00
Thomas Risberg
f4f9eac03a DATADOC-48 added support for removing any related Mongo documents when entities are removed 2011-03-31 17:11:19 -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
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
Thomas Risberg
057eeb101c DATADOC-48 using the entity lifecycle for transaction synch registration 2011-03-29 21:17:16 -04:00
Thomas Risberg
81db620c6d fixed persistence test 2011-03-29 11:57:07 -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
0468ba3ad9 DATADOC-48 adding checks not to overwrite existing keys in changeset 2011-03-25 11:15:08 -04: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
J. Brisbin
032de81478 Format, organize imports, remove eclipse artifacts 2011-03-15 11:57:55 -05:00
Thomas Risberg
60f9b05760 DATADOC-48 added additional tests for cross-store 2011-03-09 16:29:12 -05:00
Thomas Risberg
0ad895d6d4 DATADOC-48 added cross-store support for Mongo->JPA relationships 2011-03-08 23:28:42 -05:00
Thomas Risberg
8f39f6616d DATADOC-48 some more cross-store tests 2011-03-03 10:16:54 -05:00
Thomas Risberg
4d3db4fd47 DATADOC-48 adding basic cross-store features and some tests 2011-03-02 09:57:12 -05:00
Thomas Risberg
358fd51c4d DATADOC-48 adding basic cross-store features 2011-03-02 08:58:43 -05:00
Thomas Risberg
eb5bbe4686 added new cross-store module 2011-02-28 17:00:39 -05:00