Properly setup connection factory for DbDataStore