attach dispose cache

when sub object have @Id field then mapper generate only origin-version object .
my project's history document have same version of reference object .
this fix happen no additional db-access .