Database Session adapter using Model.