Finalizing DB mapper implementation.

Bugs closed: AURORA-612

Reviewed at https://reviews.apache.org/r/24521/