Closed
Description
Martin Sturm opened DATAMONGO-1044 and commented
I'd like to implement lazy schema migration using AbstractMongoEventListener that transforms old documents into new schema before mapping. It works as long as the documents are loaded directly. But when documents are loaded via DBRef then AbstractMongoEventListener#onAfterLoad.
The guy here (http://forum.spring.io/forum/spring-projects/data/130328-mongoeventlistener-onafterload-and-dbref ) describes the same problem with more detailed example
Affects: 1.5.1 (Dijkstra SR1)
Issue Links:
- DATAMONGO-1194 Improve DBRef resolution for collections
1 votes, 3 watchers