Added buffering to db mapper.
Adjusted IdentityClassMethod hydrator.