Pass DbAdapter instance to es adapter