c1b396cca5
Replaced custom implementation over usage of TypeInformation.getActualType().
Oliver Gierke
2011-06-17 20:28:13 +02:00
2e86012b3f
Lowered log level to speed up test execution.
Oliver Gierke
2011-06-13 20:25:36 -07:00
538a62efce
Adapted package refactorings in Spring Data Commons.
Oliver Gierke
2011-06-13 20:25:15 -07:00
3573851bfc
Polishing.
Oliver Gierke
2011-06-13 14:53:07 -07:00
e47ddf4bf2
Polished MonogoPersistentEntityIndexCreator.
Oliver Gierke
2011-06-13 13:23:33 -07:00
c59711a409
Use findOne(…) for single entity queries inside repository abstraction.
Oliver Gierke
2011-06-13 13:23:59 -07:00
b1ab3f6ade
DATADOC-162 - Added more test cases around Point class.
Oliver Gierke
2011-06-13 09:48:18 -07:00
fa094eef25
DATADOC-162 fixed formatting in toString method
Thomas Risberg
2011-06-10 09:01:48 -04:00
8ac2ff6b81
DATACMNS-169 - Revised custom converter handling.
Oliver Gierke
2011-06-09 16:35:04 -07:00
46d6dffdd4
DATADOC-167 - @Documentation annotation is now inherited into subclasses
Oliver Gierke
2011-06-07 11:42:53 -07:00
06632cc3ae
DATACMNS-42 - Fixed some bugs in nested collection handling.
Oliver Gierke
2011-06-06 14:46:06 -07:00
df0427442a
DATACMNS-42 - Removed BigInteger as Mongo specific custom type as MappingBeanHelper covers Number implementations already.
Oliver Gierke
2011-06-04 06:36:11 +02:00
eb20aea7fe
preparing for snapshot builds
Thomas Risberg
2011-06-02 13:45:25 -04:00
1e52f8641c
preparing for 1.0.0.M3 MongoDB release
Thomas Risberg
2011-06-02 13:39:28 -04:00
37f2fcee31
DATADOC-147 - Updated reference documentation to cover changes from M2 to M3
Thomas Risberg
2011-06-02 12:03:02 -04:00
9a0e45de83
DATADOC-147 - Updated reference documentation to cover changes from M2 to M3
Thomas Risberg
2011-06-02 11:54:54 -04:00
b140fc1698
Updated changelog.
Oliver Gierke
2011-06-02 11:50:48 +02:00
ac4b27159b
DATADOC-161 - MappingMongoConverter now supports nested Maps as well.
Oliver Gierke
2011-06-02 11:47:00 +02:00
e8b130691c
updated changelog for M3
Thomas Risberg
2011-06-01 22:11:44 -04:00
836b5ad258
DATADOC-160 refactoring to make parameter ordering more consistent, especially for string parameter specifying collection name override; renamed insertList methods; removed unnecessary methods
Thomas Risberg
2011-06-01 22:08:09 -04:00
dc9f96908f
DATADOC-157 reformatted; changing spaces back to tabs for indentation
Thomas Risberg
2011-06-01 19:20:05 -04:00
f9fdbb469f
updated changelog for M3
Thomas Risberg
2011-06-01 13:03:57 -04:00
25b9a56030
DATADOC-156 added some more tests around different id types and in queries
Thomas Risberg
2011-06-01 08:48:44 -04:00
2c585d49d6
removed duplicate dependency from pom; removed reference to removed module from assembly
Thomas Risberg
2011-05-31 23:03:59 -04:00
7bed1264b1
DATADOC-157 - changed order parameters are declared for JavaDoc
Thomas Risberg
2011-05-31 22:54:21 -04:00
523d48759f
DATADOC-155 removed print to sysout; polished
Thomas Risberg
2011-05-31 22:50:00 -04:00
1a5bffb52a
DATADOC-155 added more tests for id properties; fixed mapping issue where String id wasn't converted to ObjectId properly
Thomas Risberg
2011-05-31 22:45:09 -04:00
467f7c61af
DATADOC-158 changed to use Spring;s StringUtils
Thomas Risberg
2011-05-31 22:35:26 -04:00
89e83d1f69
fixed NPE during document processing by changing to correct language for programlisting element
Thomas Risberg
2011-05-31 17:45:11 -04:00
b4b61a96e9
DATADOC-156 - MongoOperations.find(query(where("id").in(ids)) fails where ids aren't ObjectIds
Mark Pollack
2011-05-31 16:09:37 -04:00
131a2912e9
DATADOC-157 - MongoTemplate updateFirst/updateMulti methods to take java.lang.Class parameter as last in method param list to be consistent with other usage
Mark Pollack
2011-05-31 15:55:13 -04:00
b4236bdd78
More tests for DATADOC-155 - Need to support plain POJOs with non-ObjectId-compatible ID properties
Mark Pollack
2011-05-31 15:43:57 -04:00
43d0f74a3e
Initial stab at changing the way IDs are handled in the mapping converter.
J. Brisbin
2011-05-31 13:21:03 -05:00
aeea1bc5d5
Added @PersistenceConstructor to Circle.
Oliver Gierke
2011-05-31 13:54:10 +01:00
187f087270
Minor generics polishing in test cases.
Oliver Gierke
2011-05-30 12:05:08 +02:00
115d419d0a
comment back in geo tests.
Mark Pollack
2011-05-27 16:43:18 -04:00
e0bd465649
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
Mark Pollack
2011-05-27 16:40:18 -04:00
6a73e94c57
DATADOC-155 - Add support for any type for id properties, not just the ones that can be converted into an ObjectId
J. Brisbin
2011-05-27 14:22:58 -05:00
7ea14bb4d5
Add failing test PersonPojoWithPrimitiveIdTests DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
Mark Pollack
2011-05-27 13:13:23 -04:00
bfc4bc2100
Added clean-up step for new primitive ID tests, cleanup up unused imports in MappingTests.java
J. Brisbin
2011-05-25 13:03:38 -05:00
842c87389d
remove extraneous import
Mark Pollack
2011-05-25 13:50:16 -04:00
e751666f90
Added test and a fix around using primitive ints as IDs
J. Brisbin
2011-05-25 12:39:36 -05:00
f2305681d3
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
Mark Pollack
2011-05-25 00:30:10 -04:00
fb39f01f25
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
Mark Pollack
2011-05-24 22:09:12 -04:00
e1f8eee2d1
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
Mark Pollack
2011-05-24 18:07:18 -04:00
c7c2a66c3b
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location
Mark Pollack
2011-05-24 17:24:08 -04:00
69b1b9b96b
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location
Mark Pollack
2011-05-24 17:23:02 -04:00
2284a5137e
DATADOC-88 - Create MongoDbFactory to consolidate DB, Server location, and user credentials into one location
Mark Pollack
2011-05-24 17:17:54 -04:00
46e2cf698e
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
Mark Pollack
2011-05-24 13:44:35 -04:00
1087b07086
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
Mark Pollack
2011-05-24 10:21:07 -04:00
d55505f1e5
DATADOC-130 - Added custom converters for Locale and Character.
Oliver Gierke
2011-05-24 18:39:24 +02:00
de06029ea2
Updated reference documentation for Mongo repositories.
Oliver Gierke
2011-05-24 17:36:00 +02:00
4d33c9c360
DATADOC-149 - Removed constructor not taking a MongoDbFactory as well as setter for it from MappingMongoConverter.
Oliver Gierke
2011-05-24 17:32:23 +02:00
8474a28538
Adapted introduction of BeanWrapper in Spring Data Commons.
Oliver Gierke
2011-05-24 12:06:44 +02:00
edba941dd0
DATADOC-83 - removed the spring-data-document-core module; move @RelatedDocument to the spring-data-mongodb-cross-store module; renamed "org.springframework.data.persistence.document.mongo" package
Thomas Risberg
2011-05-24 10:00:06 -04:00
c75218387b
DATADOC-42 - Provide option for configuring replica sets using the Mongo namespace
Mark Pollack
2011-05-24 02:08:17 -04:00
2e5906fa56
DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)
Mark Pollack
2011-05-24 00:57:39 -04:00
c6c3dfef15
DATADOC-42 - Provide option for configuring replica sets using the Mongo namespace (partial work)
Mark Pollack
2011-05-24 00:57:03 -04:00
43925c9cf6
add logging to some collection operations
Mark Pollack
2011-05-24 00:55:49 -04:00
3893eb126d
DATADOC-83 - Review dependencies
Mark Pollack
2011-05-24 00:55:30 -04:00
c8e16318e8
DATADOC-83 - Review dependencies
Mark Pollack
2011-05-24 00:49:17 -04:00
c48f892124
DATADOC-83 - Review dependencies
Mark Pollack
2011-05-23 23:16:43 -04:00
4c01993666
DATADOC-138 - Expose all properties of MongoOptions classin Mongo namespace DATADOC-135 - <mongo:options /> should use - instead of camel case to be consistent with other atrtibute names
Mark Pollack
2011-05-23 23:07:44 -04:00
bf8b85ef98
Fixed invalid exception in looking up a type hint from DBObject.
Oliver Gierke
2011-05-24 00:41:43 +02:00
974faec6dd
DATADOC-88 fixed missing propagation of host/port when no nested <mongo> element provided
Thomas Risberg
2011-05-23 13:33:09 -04:00
b5e83d4350
DATADOC-105 added list of jars need for builds not using Maven
Thomas Risberg
2011-05-23 12:46:28 -04:00
c79989ce99
DATADOC-56 added a section documenting _id conversion rules
Thomas Risberg
2011-05-23 12:30:04 -04:00
208c977e0a
Moved QueryDslPredicateExecutor into Spring Data Commons.
Oliver Gierke
2011-05-23 12:23:06 +02:00
df1e900c55
Fixed template.mf to only export mongodb package.
Oliver Gierke
2011-05-22 15:28:13 +02:00
22ab2007da
DATADOC-145 - Fixed mapping collections with abstract component types.
Oliver Gierke
2011-05-22 14:54:08 +02:00
fdc81440bd
DATADOC-15 introduced a protected WriteConcern prepareWriteConcern(WriteConcern writeConcern) method to MongoTemplate to faciliate subclass customization
Thomas Risberg
2011-05-20 17:01:31 -04:00
4052506df1
DATADOC-88 changed db attribute to dbname on <mongo:db-factory>
Thomas Risberg
2011-05-20 16:28:36 -04:00
4356297421
Changed tests to use 'database' as the database name except for the repositories tests
Thomas Risberg
2011-05-20 16:11:21 -04:00
d0da787f70
Removed mapping-context-ref from repositories namespace.
Oliver Gierke
2011-05-20 20:46:35 +02:00
e89d09cc86
DATADOC-144 - Added @FieldName annotation to allow defining the name of the field a property shall be stored to.
Oliver Gierke
2011-05-20 20:23:38 +02:00
3e38595fe8
DATADOC-142 changed constructor taking Mongo and database name to accept user credentials
Thomas Risberg
2011-05-20 12:58:07 -04:00
ad287efb4e
DATADOC-143 - Made MongoMappingContext the default converter for the template, which also meant:
J. Brisbin
2011-05-20 11:36:17 -05:00
98da8beb67
DATADOC-80 changed setCustomConverters to take a Set<Object> instead of a List similar to ConversionServiceFactory.registerConverters(…)
Thomas Risberg
2011-05-20 08:04:13 -04:00
9324ae2593
DATADOC-137 - Repositories now correctly replace multiple placeholders in JSON based queries.
Oliver Gierke
2011-05-19 18:09:39 +02:00
adc56ce79f
DATADOC-83 - Review dependencies Removed dependency on spring mvc in data-document-core to spring-data-document-examples\mongodb-myrestaurants-analytics
Mark Pollack
2011-05-19 14:04:21 -04:00
2832b524d3
DATADOC-121 switched to use MappingMongoConverter as default; removed some renamed methods reintroduced from recent merge
Thomas Risberg
2011-05-19 13:25:22 -04:00
1640db5d7c
removed unused abstractions in data-document-core
Mark Pollack
2011-05-19 12:39:03 -04:00
ac762b2289
changed Xlint options to avoid 'bad path element' error during build
Thomas Risberg
2011-05-19 12:54:23 -04:00
9429326ec2
removed collection from annotation since it is not used
Thomas Risberg
2011-05-19 12:37:34 -04:00
3e840e2380
DATADOC-121 deprecated the SimpleMongoConverter
Thomas Risberg
2011-05-19 09:36:36 -04:00
5b57b40274
Added namespace parser for MongoDbFactory, made changes to getting mapping stuff to use MongoDbFactory
J. Brisbin
2011-05-19 08:44:26 -05:00
63d9d35cba
DATADOC-80 renamed setConverters to setCustomConverters and made signature consistent between Simple and mapping converters
Thomas Risberg
2011-05-18 17:59:42 -04:00
bf5fc0ff1f
DATADOC-122 added a MongoCollectionsUtils to provide a method for preferred collection name
Thomas Risberg
2011-05-18 17:24:41 -04:00
6287fa425d
DATADOC-108 - added findbyId(…) methods to MongoTemplate.
Oliver Gierke
2011-05-18 23:16:31 +02:00
345e6ebf8b
DATADOC-136 - Fixed conversion of enums.
Oliver Gierke
2011-05-18 19:29:00 +01:00
4aaa32fe1d
DATADOC-141 DATADOC-89 introduced a protected prepareCollection method and a boolean flag setSlaveOk on the MongoTemplate to have template instance level control over slave behavior
Thomas Risberg
2011-05-18 15:46:22 -04:00
60774dca26
DATADOC-88 switched test config files to use MongoDbFactory
Thomas Risberg
2011-05-18 10:20:25 -04:00
c9d5565aaa
DATACMNS-38 - Added unit test for adding a self-referencing entity to the mapping context.
Oliver Gierke
2011-05-17 20:18:52 +01:00
30e96f9c97
DATADOC-88 added accessors for Mongo and database name to MongoDbFactory
Thomas Risberg
2011-05-17 12:13:42 -04:00
86960006cb
DATADOC-88 introducing a MongoDbFactory interface and MongoTemplate constructors that take this as an argument
Thomas Risberg
2011-05-16 18:07:56 -04:00
21cd013cf1
DATADOC-88 re-introducing a MongoDbFactoryBean for configuring Mongo DB objects
Thomas Risberg
2011-05-16 14:46:58 -04:00
95750ffde1
cleaned up unused imports
Thomas Risberg
2011-05-16 12:19:34 -04:00
6ed1d2b226
DATADOC-110 removed 'substituteMappedIdIfNecessary' since this is now handled by QueryMapper
Thomas Risberg
2011-05-16 12:11:55 -04:00