4950515253545556575859
B b; ds.store(a = new A()); ds.store(b = new B()); ds.store(new AB(a, b)); final AB ab = ds.find().type(AB.class).addFilter("a", Query.FilterOperator.EQUAL, ds.associatedKey(a)).returnResultsNow().next(); if (!ab.b.equals(b)) fail(); }