Created database cache adapter.