… of ClassMetadata instance as parameter.
…cleared during onFlush
…data to ClassMetadataInfo in these files (as in the ORM tool/mapping)
If we don't, and if the document has a postLoad listener that accesses a document getter, then the document will get hydrated twice.
…bjectId data type. Can be annotated using @ObjectId or @Field(type="object_id")
This will help to avoid getting 'Undefined index' errors.