add db adapter aware initializer