added variant to distinguish between plain driver and connection pool