}
if (this.timeout > 0 || this.adivsoryLock != AdvisoryLock.NO_LOCK) {
// Wrapper provides locking and changing of session settings functionality
this.executor = new ExecutorWrapper(executor, this.timeout, this.adivsoryLock);
}
if (useValidation) {
this.executor = new ValidationExecutorWrapper(this.executor);
}