Refactored DbExecutor to use a plain sql connection