/**
* @return maximum runID over all output descriptors.
*/
public static int getCurrentMaxRunId(String runInfoTable, DBConnectionInfo dbConInfo) {
if (runIdCalculations.size() == 0) {
DbOutputterDescriptor pseudoDescriptor = new DefaultDbOutputterDescriptor();
pseudoDescriptor.setName(PSEUDO_DESCRIPTOR);
pseudoDescriptor.setRunInfoTableName(runInfoTable);
Connection con = getConnection(null, dbConInfo);
LOG.debug("Connection in getCurrentMaxRunID: " + con, con);
runId = getRunIDStatic(pseudoDescriptor, con);
try {