docs: private IEntityLock[] primSelect(String sql) throws LockingException {
          Connection conn = null;
          Statement stmnt = null;
          ResultSet rs = null;
          List locks = new ArrayList();
  
          if (log.isDebugEnabled()) log.debug("RDBMEntityLockStore.primSelect(): " + sql);
  
          try {
              conn = RDBMServices.getConnection();
              stmnt = conn.createStatement();
              try {
                  rs = stmnt.executeQuery(sql);
                  try {
                      while (rs.next()) {
                          locks.add(instanceFromResultSet(rs));
                      }
                  } finally {
                      rs.close();
                  }
              } finally {
                  stmnt.close();
              }
          } catch (SQLException sqle) {
              log.error(sqle, sqle);
              throw new LockingException("Problem retrieving EntityLocks", sqle);
          } finally {
              RDBMServices.releaseConnection(conn);
          }
  
          return ((IEntityLock[]) locks.toArray(new IEntityLock[locks.size()]));
      }