J. Brisbin
c365830b2c
Fixes for bug skipping fields in superclasses
15 years ago
Oliver Gierke
2947bfeaa6
Removed @Override annotations as they cannot be used at interfaces with Java 5.
15 years ago
Oliver Gierke
01a800b2cc
DATACMNS-20 - Adapted refactoring of Repository.findById(…) to findOne(…).
15 years ago
Oliver Gierke
4daab96bc4
DATAJPA-19 - Adapted generics and metadata changes made in core.
15 years ago
J. Brisbin
e66f95bcf8
spring-data-commons object mapping support for MongoDB
15 years ago
Oliver Gierke
d824ed7e72
DATACMNS-21 - Override Repository methods returning Iterable.
...
As the MongoOperations currently only returns Lists anyway we can override the methods returning an Iterable to return List for now.
15 years ago
Oliver Gierke
f585beffc8
DATACMNS-20 - Adapted refactoring of Repository.findById(…) to findOne(…).
15 years ago
Oliver Gierke
68635687d1
DATAJPA-19 - Adapted generics and metadata changes made in core.
15 years ago
Thomas Risberg
60f9b05760
DATADOC-48 added additional tests for cross-store
15 years ago
Thomas Risberg
0ad895d6d4
DATADOC-48 added cross-store support for Mongo->JPA relationships
15 years ago
J. Brisbin
5e4b5cf9e0
Removed SimpleMongoConverter from main package
15 years ago
J. Brisbin
ff8b0a166e
Fixes, handling associations
15 years ago
Oliver Gierke
779d9d6a79
Extended SimpleMongoConverter to support registering custom types.
...
Values of the registered custom types are serialized using the underlying ConversionService. This way we can plug in custom converters, e.g. for JodaTime and the like.
15 years ago
Jon Brisbin
40ef4d7ad9
Stripping extra, obsolete stuff.
15 years ago
Jon Brisbin
8949d53252
Trying to fix merge conflicts.
15 years ago
J. Brisbin
1d1ee36b5a
tweaks
15 years ago
J. Brisbin
9a4ed1987b
Merging upstream changes
15 years ago
J. Brisbin
15768b3a44
First stab at mapping
15 years ago
Mark Pollack
d6fd36ce00
Igore CouchDB integration tests until couchdb server is on CI build machine
15 years ago
Mark Pollack
0baad6740a
Simple CouchDB integration
15 years ago
Oliver Gierke
4616fb19a2
DATADOC-34 - Create indexes for repository query methods on start.
...
Adapted changes of Spring Data Commons. Implemented IndexEnsuringQueryCreationListener that creates an index for all the properties used in a query. Applies descending order by default but consideres potentially added OrderBy clauses in the query to define the order of the index attributes.
15 years ago
Oliver Gierke
9bc4f9ad98
Added fix for And and Or keywords to changelog.
15 years ago
Thomas Risberg
8f39f6616d
DATADOC-48 some more cross-store tests
15 years ago
Thomas Risberg
716875db03
added cross-store to full build
15 years ago
Thomas Risberg
4d3db4fd47
DATADOC-48 adding basic cross-store features and some tests
15 years ago
Thomas Risberg
358fd51c4d
DATADOC-48 adding basic cross-store features
15 years ago
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.
15 years ago
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.
15 years ago
Oliver Gierke
9e77e85854
Adapted signature changes of QueryLookupStrategy.
15 years ago
Oliver Gierke
0427abfb90
Added field attribute to @Query annotation.
...
The fields attribute allows specifying which fields of matching documents should be unmarshalled.
15 years ago
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.
15 years ago
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.
15 years ago
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.
15 years ago
Thomas Risberg
eb5bbe4686
added new cross-store module
15 years ago
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).
15 years ago
Oliver Gierke
3caa88a2da
DATADOC-47 - Adapted changes of DATACMNS-17.
15 years ago
Oliver Gierke
86cc313d80
Quick fix for missing createIsNewStrategy(…).
...
Solid refactoring will follow up with implementation of DATACMNS-17.
15 years ago
Mark Pollack
32cb21eed6
Add JMX documentation
15 years ago
Thomas Risberg
f171b5b3ee
updated aws build extension to work with Maven 2.2.1
15 years ago
Oliver Gierke
3604f88322
Fixed logger access method.
15 years ago
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.
15 years ago
Thomas Risberg
53f71a068c
preparing for snapshot builds
15 years ago
Thomas Risberg
c60232315b
preparing for 1.0.0.M1 MongoDB release
15 years ago
Thomas Risberg
49bae2a0e5
tweaking the build
15 years ago
Thomas Risberg
a77de6e228
tweaking the build
15 years ago
Thomas Risberg
9ff5f6426e
DATADOC-30 updated documenation
15 years ago
Thomas Risberg
750fb907e3
added Enum support for BasicUpdate; tweaking the Criteria support
15 years ago
Thomas Risberg
202837e349
added Enum support for Update and Query
15 years ago
Thomas Risberg
e12ac23131
DATADOC-30 updated documenation
15 years ago
Thomas Risberg
e734277c3c
tweaking the MongoOperstions API for consistency across methods
15 years ago