/**
  * Return if pessimistic locking/select for update nowait is supported for this test platform.
  * Currently testing supports nowait on Oracle, SQLServer. PostgreSQL also supports NOWAIT, but
  * doesn't support the outer joins used in the tests.
  */
 public static boolean isSelectForUpateNoWaitSupported(String puName) {
   AbstractSession dbSession = getDatabaseSession(puName);
   if (dbSession.isBroker()) {
     for (AbstractSession memberSession :
         ((SessionBroker) dbSession).getSessionsByName().values()) {
       if (!isSelectForUpateSupported(memberSession.getPlatform())) {
         return false;
       }
     }
     return true;
   } else {
     return isSelectForUpateNoWaitSupported(dbSession.getPlatform());
   }
 }