/** * Get the connection held by this thread if we're using thread local connections * * This is a a hook for hydra code to pass thread local connections between threads. * * @return the connection from the thread local, or null if there is no thread local connection. */ public Connection getThreadLocalConnection() { return executor.getThreadLocalConnection(); }