Locking Mechanism

Locking to prevent multiple Batch Validation sessions for the same study from starting now uses transaction-independent named locks instead of row locks.