Finishing database adapter.