Commit Graph

186 Commits

Author SHA1 Message Date
Thomas Risberg
c60232315b preparing for 1.0.0.M1 MongoDB release 1.0.0.M1-MongoDB 2011-02-14 23:40:57 -05:00
Thomas Risberg
49bae2a0e5 tweaking the build 2011-02-14 22:42:39 -05:00
Thomas Risberg
a77de6e228 tweaking the build 2011-02-14 22:23:41 -05:00
Thomas Risberg
9ff5f6426e DATADOC-30 updated documenation 2011-02-14 18:53:20 -05:00
Thomas Risberg
750fb907e3 added Enum support for BasicUpdate; tweaking the Criteria support 2011-02-14 18:53:10 -05:00
Thomas Risberg
202837e349 added Enum support for Update and Query 2011-02-14 16:58:02 -05:00
Thomas Risberg
e12ac23131 DATADOC-30 updated documenation 2011-02-14 16:03:05 -05:00
Thomas Risberg
e734277c3c tweaking the MongoOperstions API for consistency across methods 2011-02-14 15:48:12 -05:00
Thomas Risberg
8884205234 DATADOC-30 updated documenation 2011-02-14 12:47:35 -05:00
Thomas Risberg
11ab0453fe DATADOC-30 updated documenation 2011-02-14 12:40:35 -05:00
Thomas Risberg
711dd31564 tweaking the line-up of methods in MongoOperations; make return value consistent for createCollection methods 2011-02-14 12:40:07 -05:00
Thomas Risberg
4a9ed870d1 working on the docs 2011-02-14 09:37:00 -05:00
Oliver Gierke
bb8a4d93c6 Use newly introduced findOne(…) of MongoOperations inside SimpleMongoRepository.findById(…). 2011-02-14 14:32:02 +01:00
Oliver Gierke
3a1ccf5adc Improved debug logging in MongoQueryCreator. 2011-02-14 14:24:17 +01:00
Thomas Risberg
16a3a60d80 polished - removed unused imports 2011-02-13 20:56:34 -05:00
Thomas Risberg
4a36da1889 added findOne methods to MongoOperations; added support to automagically map 'id' fields in queries to '_id' and to convert String to ObjectId if possible; fixed SimpleMongoConverter's mapping of a bean property named '_id' 2011-02-13 20:45:14 -05:00
Thomas Risberg
596341a462 fixed typo 2011-02-13 15:03:53 -05:00
Mark Pollack
b1f6ff9d89 Update documentation. Add support to configure MongoOptions in .xsd 2011-02-13 03:53:57 -02:00
Mark Pollack
704c84b644 Add JMX namespace parser 2011-02-13 00:47:46 -02:00
Mark Pollack
1519b81b1d Add JMX namespace parser 2011-02-13 00:47:35 -02:00
Thomas Risberg
42b13175fe DATADOC-30 updated documentation 2011-02-12 16:59:35 -05:00
Thomas Risberg
bccd302b50 added IndexSpecification to support creating GeospatialIndex 2011-02-12 16:23:12 -05:00
Thomas Risberg
c47c7deeeb added indexing features to MongoTemplate 2011-02-12 16:12:51 -05:00
Thomas Risberg
222b1507cd DATADOC-30 updated documenation 2011-02-12 10:51:43 -05:00
Mark Pollack
e9d3726531 Additional JMX Metrics 2011-02-11 14:48:45 -05:00
Mark Pollack
e910c2c300 Additional JMX Metrics 2011-02-11 14:46:59 -05:00
Thomas Risberg
adf8508d1d updated dependency on spring-data-commons to 1.0.0.M3 2011-02-11 12:00:48 -05:00
Mark Pollack
fae810fd31 update static snaphot location for docs 2011-02-10 15:56:12 -05:00
Oliver Gierke
93d22dbd61 Let repositories use the domain class' name to select collection.
We will now store each managed entity into a separate collection, so User class would be stored in the user collection, Account in account and so on.
2011-02-10 20:10:22 +01:00
Thomas Risberg
f192c4289b added new OrQuery class 2011-02-09 15:43:42 -05:00
Thomas Risberg
4f32ee1403 refactored the Query/Update "DSL" again 2011-02-09 15:40:53 -05:00
Thomas Risberg
fc4205488b renamed package from builder to query 2011-02-07 12:46:40 -05:00
Mark Pollack
96fd017123 jmx functionality 2011-02-07 12:12:33 -05:00
Thomas Risberg
3a47f192d7 update methods now return WriteResult; added configurable WriteResultChecking for update methods 2011-02-04 21:02:14 -05:00
Thomas Risberg
895776bea2 refactored MongoOperations to use UpdateDefinition/QueryDefinition throughout; added skip/limit/sort to CursorPreparer for queries; cleanup; refactored Query 2011-02-04 14:16:24 -05:00
Oliver Gierke
eafed37283 Re-refactored repository query execution after polishing of the core query builder API.
Pagination information is set on the query, but this still has to be brought to execution inside the template.
2011-02-03 21:44:47 +00:00
Thomas Risberg
7d948e28f3 added skip() 2011-02-03 16:19:56 -05:00
Thomas Risberg
d4ebb9a01c added skip also 2011-02-03 16:15:21 -05:00
Thomas Risberg
9e5eb96150 first part of MongoTemplate/Query refactoring 2011-02-03 16:02:11 -05:00
Oliver Gierke
f9e50916e1 Refactored repository implementation to use QuerySpec API.
Use QuerySpec instead of QueryBuilder now. Refactored query method query building to populate CriteriaSpec and work with root QuerySpec object until the API is polished. Some test should break right now as we have to get the skip and sorting stuff into the API.
2011-02-03 18:46:01 +00:00
Thomas Risberg
4ed5ff7dc8 created Sort as separate construct 2011-02-03 11:57:45 -05:00
Oliver Gierke
3ecad1cfd2 DATADOC-30 - Improvements to reference documentation.
Included core repository documentation from Spring Data Commons. Polished documents and restructured them a little.
2011-02-03 15:04:20 +00:00
Thomas Risberg
e2146bf997 renamed query methods to find; changed query methods taking JSON to accept the new Query object instead; added support for fields specification; removed write concern methods for collection and DB; 2011-02-02 17:54:52 -05:00
Thomas Risberg
d5b1b06a79 updated to Spring 3.0.5 2011-02-02 13:49:20 -05:00
Thomas Risberg
b362d559cb added QuerySpec and associated support classes; refactored UpdateSpec to implement Update interface 2011-02-02 12:51:01 -05:00
Thomas Risberg
0b2a3fae1d renamed UpdateBuilder to UpdateSpec and moved to builder package 2011-02-02 12:11:41 -05:00
Thomas Risberg
325e356bb8 DATADOC-14 added WriteConcern for MongoTemplate to be used for write operations when specified and also methods to set WriteConcern for DB and Collections 2011-01-26 13:06:52 -05:00
Oliver Gierke
29e770a9f7 DATACMNS-12 - Adapted namespace XSD to latest changes Spring Data Commons.
Added necessary attribute groups.
2011-01-26 17:53:53 +02:00
Thomas Risberg
2cd7b74264 added getter/setter for ExceptionTranslator 2011-01-25 12:04:55 -05:00
Thomas Risberg
a1c6c8d671 added ExceptionTranslator inreface to factory bean for convenience during configuration and to be consistent with JPA configs 2011-01-25 12:03:24 -05:00