Commit Graph

86 Commits

Author SHA1 Message Date
Thomas Risberg
b5e83d4350 DATADOC-105 added list of jars need for builds not using Maven 2011-05-23 12:46:28 -04:00
Thomas Risberg
c79989ce99 DATADOC-56 added a section documenting _id conversion rules 2011-05-23 12:30:04 -04:00
Oliver Gierke
ef2b0235c7 DATADOC-109 - Introduced MappingContext implementation for SimpleMongoConverter.
Adapted changes in Spring Data Commons. Adapted test cases accordingly. Introduced SimpleMongoMappingContext that that reflects the meta-model assumptions in SimpleMongoConverter. Adapted repository factories accordingly as we can now assume that there is a MappingContext available always.

Refactored QueryMapper to be stateless so that we don't need to recreate instances of it. Added unit tests to verify id property to key mapping and type conversion to ObjectId.

Polished MappingTests to simply drop the database after all test were finished to make sure it starts with a clean state on a potential next run.
2011-04-28 21:35:19 +02:00
Mark Pollack
f0b30ec39e DATADOC-99 - Reference documentation shows invalid field spec for @Query usage with repositories 2011-04-25 14:01:32 -04:00
Thomas Risberg
db75aca336 fixed highlight xls 2011-04-19 11:24:55 -04:00
Mark Pollack
3ab2aeb5c1 add mvn repo information 2011-04-11 14:10:04 -04:00
Thomas Risberg
20c9af6550 updated changelog with latest release info 2011-04-09 19:02:44 -04:00
Thomas Risberg
1f27472c60 fixed list of authors formatting in html 2011-04-09 18:46:05 -04:00
Thomas Risberg
ba811f1446 fixed program listings with too long lines 2011-04-09 18:37:25 -04:00
Thomas Risberg
4d9707915d updated changelog 2011-04-09 18:04:58 -04:00
Mark Pollack
aa0d7c13da docs updates 2011-04-09 17:46:06 -04:00
Thomas Risberg
9a24b71531 fixed list of authors formatting in pdf 2011-04-09 16:24:48 -04:00
Thomas Risberg
7452944e13 updated copyright year for pdf 2011-04-09 16:24:48 -04:00
Mark Pollack
f6d4cc615a add missing language tags for docs 2011-04-09 16:12:39 -04:00
Mark Pollack
fa8de51794 doc updates. provide afterMappingMongoConverterCreation lifecycle method in AbstractMongoConfiguration 2011-04-09 16:02:27 -04:00
Mark Pollack
dac4aed120 minor doc addition, looking at possible replica-set .xsd variations. 2011-04-09 12:13:48 -04:00
Mark Pollack
8192db49c5 update docs
look for entity collection on finds in mongotemplate
2011-04-08 18:20:32 -04:00
Mark Pollack
4bb2e7a5bd javadoc/doc changes. 2011-04-08 17:50:38 -04:00
Thomas Risberg
d4ef431a89 removed javascript code-snippet attribute to keep docbook plugin from barfing 2011-04-08 01:44:41 -04:00
Mark Pollack
a11218cd9c Merge remote branch 'origin/master' 2011-04-08 01:37:56 -04:00
Mark Pollack
e5f2e4151f update docs
add remove method on mongotemplate to MongoOperations
change Venue to use primitive arrays
2011-04-08 01:37:29 -04:00
Thomas Risberg
486b9a0e1d some additional cross-store docs 2011-04-08 00:55:47 -04:00
Mark Pollack
8c4219bbd2 Add additional remove methods to MongoTemplate and make consistent with write handling of String <-> ObjectId conversion when using SimpleMongoConverter
Update docs
2011-04-07 23:40:38 -04:00
Mark Pollack
e7d47c4626 Merge remote branch 'origin/master' 2011-04-07 19:29:16 -04:00
Mark Pollack
d8ce9189f1 documentation updates 2011-04-07 19:24:51 -04:00
Thomas Risberg
dfe7d16475 first cut of cross-store chapter; fixed document title 2011-04-07 19:07:37 -04:00
Thomas Risberg
21a7a538bf beginning of cross-store docs 2011-04-07 17:19:16 -04:00
Mark Pollack
403792b412 add images in documentation 2011-04-07 17:07:24 -04:00
Mark Pollack
dd684dd0e8 fix highlighting in documentation for java/xml program listings 2011-04-07 14:54:05 -04:00
Thomas Risberg
4d79cdc61d added a MongoTemplate to the mapping configuration code sample 2011-04-07 10:54:07 -04: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
1c3483abbf DATADOC-59 - Document @Query annotation for repositories
DATADOC-82 - Document QueryDslPredicateExecutor
2011-04-07 01:25:36 -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
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
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
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
6d8ecf2cbb added mongodb-log4j module 2011-03-28 13:58:24 -04:00
Mark Pollack
cb2cd48ca1 Ignore Thumbs.db 2011-03-17 15:36:30 -04:00
Oliver Gierke
673c70b7de DATADOC-41 - Initial version of QueryDsl integration for Mongo DB.
Added necessary dependencies, repository and APT processor plugin. Added QueryDslPredicateExecutor and a QueryDsl specific sub-class of SimpleMongoRepository.
Adapted MongoRepositoryFactory to use new QueryDslRepository implementation when a repository interface extends QueryDslPredicateExecutor. Added AnnotationProcessor to create query classes from QueryDsl annotations.

Todo's left open:

- move common QueryDsl integration code into Spring Data commons (see TODOs in the sourcecode)
2011-03-15 18:36:19 +01:00
J. Brisbin
032de81478 Format, organize imports, remove eclipse artifacts 2011-03-15 11:57:55 -05:00
Oliver Gierke
9bc4f9ad98 Added fix for And and Or keywords to changelog. 2011-03-03 18:06:36 +01:00
Oliver Gierke
068780c1ab DATADOC-46 - Added implementations for 'In' and 'NotIn'.
Added keyword interpretation as well as examples and test cases. Fixed bug in Criteria where a typo caused an invalid operator being used for not-in ($min -> $nin).
2011-02-25 14:12:39 +01:00