Closed
Description
Oliver Drotbohm opened DATAMONGO-242 and commented
As indicated in DATAMONGO-241 it would be cool if we could support complex types as Map
key types.
A few key points to consider:
- complex key types require completely different storing (
BasicDBList
ofBasicDBObject
instances) - the inner
BasicDBObject
instances need keys to store key and value of the map entries, these should be configurable - we have to support scenarios where data in that custom format is read and written with custom converters being registered for the complex key type (which essentially result in a migration back to simple
BasicDBObject
instances - indexing metadata
Affects: 1.0 M3
Issue Links:
- DATAMONGO-449 Spring-Data Mongo doesn't use converters while serializing key Objects from Map Properties
("is duplicated by") - DATAMONGO-485 Dont require Converters for Complex classes that are used as Ids
("is duplicated by") - DATAMONGO-241 Allow Map conversion behavior overriding
4 votes, 1 watchers