Commit Graph

1719 Commits

Author SHA1 Message Date
Thomas Risberg
e0720fa6f5 DATADOC-85 added mapping from 'id' to '_id' for queries used in remove operation 2011-04-07 11:52:37 -04:00
Jon Brisbin
ec6cec99b7 DATADOC-87 - Created GeoSpatialIndexed annotation and modified index creation listener to create geospatial indexes. Also added test case for same. 2011-04-07 10:47:47 -05:00
Thomas Risberg
4d79cdc61d added a MongoTemplate to the mapping configuration code sample 2011-04-07 10:54:07 -04:00
Oliver Gierke
a86c3409ce Aligned names of bean definition parsers. 2011-04-07 07:58:29 +02:00
Oliver Gierke
5ec5d57fe4 Removed duplication in SimpleMongoConverter and MappingMongoConverter. 2011-04-07 07:58:29 +02:00
Oliver Gierke
76cdde1c9f DATADOC-75 - Changed addConverters(…) to setConverters(…).
Removed empty constructor to enforce a MappingContext being passed into MappingMongoConverter. Removed the setter for MappingContext. initializeConverters now checks for existence of a converter for ObjectId-to-whatever before adding one in both SimpleMongoConverter as well as MappingMongoConverter.
2011-04-07 07:58:29 +02:00
Mark Pollack
fecb060f4f DATADOC-59 - Document @Query annotation for repositories 2011-04-07 01:42:54 -04:00
Mark Pollack
302f111c56 DATADOC-82 - Document QueryDslPredicateExecutor 2011-04-07 01:41:37 -04:00
Mark Pollack
b00684d968 DATADOC-59 - Document @Query annotation for repositories 2011-04-07 01:33:15 -04:00
Mark Pollack
e35864cd5b DATADOC-62 - Create abstract @Configuration class for Mongo Configuration 2011-04-07 01:32:02 -04:00
Mark Pollack
1c3483abbf DATADOC-59 - Document @Query annotation for repositories
DATADOC-82 - Document QueryDslPredicateExecutor
2011-04-07 01:25:36 -04:00
Thomas Risberg
e946782259 adding tem[late tests for a query using $in 2011-04-06 20:07:29 -04:00
Thomas Risberg
8cfdd6ffc9 DATADOC-56 running same id/_id tests for both SimpleMongoConverter and MappingMongoConverter 2011-04-06 19:40:42 -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
Mark Pollack
5359af9745 DATADOC-5 - Provide detailed mapping of Mongo errors onto Spring DAO exception 2011-04-06 18:35:00 -04:00
Mark Pollack
9fe27e590d DATADOC-62 - Create abstract @Configuration class for Mongo Configuration 2011-04-06 18:21:51 -04:00
Mark Pollack
40d9930b2c DATADOC-75 - Rename setConverters(...) to addConverters(...) in MongoConverter implementations 2011-04-06 16:31:45 -04:00
Jon Brisbin
ce17352702 DATADOC-79: Check for situation that causes an error if a unique index doesn't also specify sparse=true and issue a warning message in the log. 2011-04-06 14:27:06 -05:00
Mark Pollack
2e874e6dbc DATADOC-67 - Criteria API to support keywords for geo search 2011-04-06 14:34:35 -04:00
Oliver Gierke
fbc45f5b52 Removed forced conversion of id property to ObjectId before querying. 2011-04-06 18:52:42 +02:00
J. Brisbin
de19359eea Merge branch 'master' of github.com:SpringSource/spring-data-document 2011-04-06 11:51:27 -05:00
J. Brisbin
ff78ecf1be Fix for test case using a different constructor 2011-04-06 11:51:13 -05:00
Thomas Risberg
f774a607ef fixed added additional test without generated id for testPersonWithCustomIdName 2011-04-06 12:48:06 -04:00
Thomas Risberg
9fb1a9e63a added additional test without generated id for testPersonWithCustomIdName 2011-04-06 12:44:31 -04:00
Jon Brisbin
35d4998638 Added code to look for @Document(collection="customcollection") in template.insertList(), added tests for same. 2011-04-06 11:37:43 -05:00
Thomas Risberg
cdb57b1146 removed PersonInvalidId test 2011-04-06 11:51:14 -04:00
Jon Brisbin
c274bef3c8 Removed some obsolete code, changed the way the converter handles _id types. 2011-04-06 10:44:09 -05:00
Thomas Risberg
1b4edb35b0 DATADOC-48 added new @RelatedDocument annotation 2011-04-06 11:39:51 -04:00
Thomas Risberg
c8eb42a6f7 fixed test so it works on both MongoDB 1.6.5 and 1.8.0 2011-04-06 10:20:41 -04:00
Mark Pollack
a983c07b65 Change MongoTemplate.save to call getEntityCollection
MongoTemplate.getEntityCollection checks mappingContext to auto-register classes
Remove autowire option from mapping-converter xsd
Enable GeoSpatialTests
2011-04-05 23:00:17 -04:00
Mark Pollack
4175791d0b DATADOC-67 - Criteria API to support keywords for geo search 2011-04-05 16:37:38 -04:00
Jon Brisbin
b43b5aa4b2 Took out documentation reference to autowire property which was removed in previous commit. 2011-04-05 15:28:48 -05:00
Jon Brisbin
3e2a60c89a DATADOC-78: Refactored some of the code to use a new MappingContextAware interface available in spring-data-commons-core for obtaining a reference to the active MappingContext. Also added proper configuration to the namespace handler. Also tweaked the docs slightly. 2011-04-05 15:12:49 -05:00
Mark Pollack
6e1af80b5f documentation updates 2011-04-05 15:26:34 -04:00
Mark Pollack
a3e67bd0a3 update introductory docs 2011-04-05 14:04:29 -04:00
Oliver Gierke
1b5986f3ad Ignore GeoSpatialTests for now as it breaks the build and thus prevents publication of artifacts. 2011-04-05 13:23:14 +02:00
Oliver Gierke
305121ae7e DATAJPA-44 - Adapted refactorings in Spring Data Commons Core. 2011-04-05 10:58:10 +02:00
Oliver Gierke
478afae925 DATACMNS-24 - Adapted refactorings in Spring Data Commons Core. 2011-04-05 08:05:27 +02: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
Jon Brisbin
b25e0c432e Added catch/ignore in base event listener to keep from blowing chunks when listener is defined with a different generic type. Added event listener to the tests. 2011-04-04 11:06:34 -05:00
J. Brisbin
ece8e7500f Tweaked docs for event handlers. 2011-04-04 08:12:52 -05:00
J. Brisbin
fac31f5ce3 Quick-and-dirty coverage of event handling the documentation 2011-04-01 14:22:59 -05:00
J. Brisbin
ba76226abd Fix for array primitives, pushing first bit of documentation 2011-04-01 11:30:32 -05:00
Thomas Risberg
979d6748ba fixed artifactId for the mongodb log4j module 2011-03-31 23:02:10 -04:00
Thomas Risberg
db45349553 fixed coordinates for Penn Station 2011-03-31 23:01:01 -04:00
Mark Pollack
7e774428e4 DATADOC-67 - Criteria API to support keywords for geo search 2011-03-31 18:48:49 -04:00
Thomas Risberg
2b9b082978 DATADOC-72 renamed Query.and() to Query.addCriteria() to avoid confusion with Criteria.add() method that supports chained Criteria 2011-03-31 18:33:51 -04: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
Mark Pollack
a13579f487 Remove duplication of IndexDefinition classes. 2011-03-31 16:49:01 -04:00