Oliver Gierke
9bc4f9ad98
Added fix for And and Or keywords to changelog.
2011-03-03 18:06:36 +01:00
Thomas Risberg
8f39f6616d
DATADOC-48 some more cross-store tests
2011-03-03 10:16:54 -05:00
Thomas Risberg
716875db03
added cross-store to full build
2011-03-02 10:08:31 -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
Oliver Gierke
597b4374bc
DATADOC-49 - Fixed And and Or keyword handling.
...
Made Query.or(…) public and changed MongoQueryCreator to operate on Query rather than on Criteria.
2011-03-02 11:16:22 +01:00
Oliver Gierke
6f12450be6
Changed @Query based queries to use index parameters.
...
Using indexed parameters allows having a single method parameter to be bound to multiple placeholders.
2011-03-01 21:20:03 +01:00
Oliver Gierke
9e77e85854
Adapted signature changes of QueryLookupStrategy.
2011-03-01 21:20:02 +01:00
Oliver Gierke
0427abfb90
Added field attribute to @Query annotation.
...
The fields attribute allows specifying which fields of matching documents should be unmarshalled.
2011-03-01 21:20:02 +01:00
Oliver Gierke
851acca320
Distinguish between getDomainClass() and getReturnedDomainClass().
...
In a repository for a particular domain type we might want to query for nested documents directly and thus also return those nested documents. As the collection to be queried is determined by the domain class, this one might differ from the object the result has to be unmarshalled to.
2011-03-01 21:20:02 +01:00
Oliver Gierke
ef7178c9fa
Extended ConvertingParameterAccessor to convert for getBindableValue(…) as well.
...
Added special handling for enums as the PropertyDescriptor otherwise fails to resolve the generic type.
2011-03-01 21:20:02 +01:00
Oliver Gierke
f90766d3f4
Intercept NotWriteablePropertyException on setting bean values.
...
Using field access for populating objects in SimpleMongoConverter causes trouble when the class to be persisted contains a business getter without any parameters. This causes a PropertyDescriptor to be created for that method without a field actually backing it. So I manually catch NotWriteablePropertyException now to simply skip those invalid properties.
2011-03-01 21:20:02 +01:00
Thomas Risberg
eb5bbe4686
added new cross-store module
2011-02-28 17:00:39 -05: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
Oliver Gierke
3caa88a2da
DATADOC-47 - Adapted changes of DATACMNS-17.
2011-02-25 13:58:59 +01:00
Oliver Gierke
86cc313d80
Quick fix for missing createIsNewStrategy(…).
...
Solid refactoring will follow up with implementation of DATACMNS-17.
2011-02-24 17:37:36 +00:00
Mark Pollack
32cb21eed6
Add JMX documentation
2011-02-23 11:39:03 -03:00
Thomas Risberg
f171b5b3ee
updated aws build extension to work with Maven 2.2.1
2011-02-16 17:03:34 -05:00
Oliver Gierke
3604f88322
Fixed logger access method.
2011-02-16 21:00:16 +01:00
Oliver Gierke
8f851310cc
DATADOC-24 - Added support for using @Query on Mongo repository methods.
...
Adapted changes from Spring Data Commons. Created ConvertingParameterAccessor that uses a MongoWriter to already convert query method parameters on access. Added @Query annotation to allow defining JSON based queries on query methods using ? placeholders.
2011-02-16 20:58:02 +01:00
Thomas Risberg
53f71a068c
preparing for snapshot builds
2011-02-14 23:51:53 -05:00
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