db adapter integration