prepStmt.setString(2, processId);
rs = prepStmt.executeQuery();
if(!rs.next()) {
// cleanup cache as a side effect
uncacheDefinition (processType);
throw new InvalidKeyException
("No process with packageId/processId = "+ processType);
}
long dbid = rs.getLong(1);
boolean enabled = (rs.getString(2).charAt(0) == 'T');
Long xpdlRef = JDBCUtil.getLong(rs, 3);