Thomas Risberg
0c9ee0eacd
DATADOC-106 added support for $ne and $nor
2011-05-03 07:54:59 -04:00
Oliver Gierke
7f6a6094e6
DATADOC-115 - Upgraded to Querydsl 2.2.0-beta4.
...
Enabled treatment of not annotated classes as embedded documents to let Querydsl create query classes for them. Annotated BasePerson with @QuerySupertype as Querydsl seems to need this annotation to create the query class for super types in the 2.2 branch.
That issue is tracked in https://bugs.launchpad.net/querydsl/+bug/776219 so that we should be able to remove the annotation as soon as this one is fixed.
2011-05-03 11:51:28 +02:00
Jon Brisbin
68f8bd62d1
DATADOC-114 - Fix bug in Update class that wasn't converting POJOs properly when being used from updateFirst/Multi
2011-05-02 13:04:10 -05:00
Thomas Risberg
caa8faf769
DATADOC-102 modified Update to allow multiple field updates for most operations
2011-04-30 17:39:55 -04:00
Thomas Risberg
6e4e487eb4
added collection name to logging messages
2011-04-30 10:48:28 -04:00
Thomas Risberg
d065bd74b3
DATADOC-96 added additional or test
2011-04-28 16:28:01 -04:00
Oliver Gierke
d648c95b62
Removed accidentally commited files.
2011-04-28 21:44:43 +02: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
Jon Brisbin
321948d4a2
DATADOC-97 - Fix a couple bugs in the QueryMapper class.
2011-04-27 11:26:20 -05:00
Jon Brisbin
21f859e222
DATADOC-97 - Fixed an NPE in the QueryMapper class.
2011-04-27 11:17:06 -05:00
Jon Brisbin
224934a28c
DATADOC-97 - Took out extraneous methods from MongoTemplate as the result of incorporating a new QueryMapper class.
2011-04-27 11:13:09 -05:00
J. Brisbin
a74d9ca7cd
Merge branch 'query-mapper'
2011-04-27 11:07:35 -05:00
Jon Brisbin
76159a2216
DATADOC-97 - Added a QueryMapper helper to map properties referenced in query criteria to their proper name (_id in the case of @Id properties) as well as support conversion to ObjectId for those values that support the conversion.
2011-04-27 11:04:39 -05:00
Oliver Gierke
9c9138c4e9
DATADOC-101 - Improved custom converter handling.
...
Converters are now considered for both reading and writing. I also added a shortcut to invoke custom converters for top level types. So far the registered ones had only be used for properties of the given root object, not the root object itself.
2011-04-27 14:54:53 +02:00
Jon Brisbin
7567ba0355
DATADOC-95 - Fix issue where an object will all null properties wasn't being saved.
2011-04-27 07:52:01 -05:00
Thomas Risberg
dc36d91d8e
DATADOC-94 added plugin repository info for maven.springframework.org/release to resolve aws wagon extension
2011-04-25 16:42:20 -04: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
Mark Pollack
178b220d2d
expand on test to test retrieval of subelements. add-remove spring .xsd in STS to remove tooling releated error
2011-04-25 14:01:31 -04:00
Oliver Gierke
fe74557c95
DATACMNS-33 - Adapted API changes for Repository.count().
...
Also changed return types for count() methods on QueryDslPredicateExecutor.
2011-04-21 10:02:59 +02:00
Oliver Gierke
399beff795
DATACMNS-32 - Removed Querydsl support classes and use the ones from Spring Data Commons Core.
2011-04-20 20:37:06 +02:00
J. Brisbin
9380a88f26
Fix for problem loading domain classes with DBRef on them.
2011-04-19 14:01:57 -05:00
J. Brisbin
5e4583110e
Took out unused variable
2011-04-19 13:13:09 -05:00
J. Brisbin
8a3296758d
DATADOC-98 - Fixes for multi-dimensional arrays and lists as properties.
2011-04-19 12:50:50 -05:00
Thomas Risberg
60ba9bfcc2
updated to 1.1.0.BUILD-SNAPSHOT for data-commons
2011-04-19 11:26:52 -04:00
Thomas Risberg
db75aca336
fixed highlight xls
2011-04-19 11:24:55 -04:00
Oliver Gierke
36d62e12fc
Added Mongo annotation package to the supported annotation types.
2011-04-19 16:28:27 +02:00
Oliver Gierke
f9b1fb57cd
Added Spring Release repository as plugin repository to find AspectJ 1.6.11.RELEASE.
2011-04-19 16:28:27 +02:00
Mark Pollack
3ab2aeb5c1
add mvn repo information
2011-04-11 14:10:04 -04:00
Thomas Risberg
99e96958ed
preparing for snapshot builds
2011-04-09 19:11:26 -04:00
Thomas Risberg
20c9af6550
updated changelog with latest release info
2011-04-09 19:02:44 -04:00
Thomas Risberg
df50623fc7
preparing for snapshot builds
2011-04-09 18:51:57 -04:00
Thomas Risberg
dae36ae38b
preparing for 1.0.0.M2 MongoDB release
1.0.0.M2-MongoDB
2011-04-09 18:49:49 -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
4e4d590111
fixed javadoc link for Java 1.5
2011-04-09 18:36:36 -04:00
Thomas Risberg
4d9707915d
updated changelog
2011-04-09 18:04:58 -04:00
Mark Pollack
779a070e2d
Merge remote branch 'origin/master'
2011-04-09 17:46:17 -04:00
Mark Pollack
aa0d7c13da
docs updates
2011-04-09 17:46:06 -04:00
Thomas Risberg
23323c0c24
added additional list test
2011-04-09 17:28:47 -04:00
Mark Pollack
daca16efd1
remove some TODO comments
2011-04-09 17:25:04 -04:00
Mark Pollack
2689b08720
Merge remote branch 'origin/master'
2011-04-09 17:24:47 -04:00
Mark Pollack
bee1eac360
DATADOC-86 - Bug in deserialisation of Entitys with Embedded Collections
2011-04-09 17:24:32 -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
357818c716
DATADOC-51 - Enabling security on MongoTemplate results in the driver throwing "java.lang.IllegalStateException: can't call authenticate twice on the same DBObject"
2011-04-09 12:44:10 -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
d927c46d16
DATADOC-92 - Exception translation to catch RuntimeException instead of MongoException
2011-04-09 12:13:20 -04:00
Thomas Risberg
8ed9e3930b
changed to source 1.5; removed overrides on interface methods
2011-04-08 19:53:27 -04:00