Skip to content

No AfterLoadEvent when loading DBRef [DATAMONGO-1044] #1966

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

1 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions