134135136137138139140141
results.close(); statement.close(); return labels; } catch (SQLException e) { logger.error("Problem retrieving labels for session " + sessionID); throw new DBException("Problem retrieving labels for session " + sessionID, e); } }
146147148149150151152153
public void closeConnection() throws DBException { try { connection.close(); } catch (SQLException e) { logger.error("Error closing database connection for DataLabelsDAO"); throw new DBException("Error closing database connection for DataLabels DAO", e); } }
7677787980818283
results.close(); statement.close(); return dataSet; } catch (SQLException e) { logger.error("Cannot retrieve data for session ID " + sessionID + " from database"); throw new DBException("Cannot retrieve data for session ID " + sessionID + " from database", e); } }
99100101102103104105106
public void closeConnection() throws DBException { try { connection.close(); } catch (SQLException e) { logger.error("Error closing database connection for DataSet DAO"); throw new DBException("Error closing database connection for DataSet DAO", e); } }
8687888990919293
statement.executeUpdate(); statement.close(); } catch (SQLException e) { logger.error("Problem creating ProcessorCiscoCollector in database for session " + sessionID); throw new DBException("Problem creating ProcessorCiscoCollector in database for session " + sessionID, e); } }
8990919293949596
statement.executeUpdate(); statement.close(); } catch (SQLException e) { logger.error("Problem creating ProcessorHRCollector in database for session " + sessionID); throw new DBException("Problem creating ProcessorHRCollector in database for session " + sessionID, e); } }
9192939495969798
statement.executeUpdate(); statement.close(); } catch (SQLException e) { logger.error("Problem creating MemoryUCDCollector in database for session " + sessionID); throw new DBException("Problem creating MemoryUCDCollector in database for session " + sessionID, e); } }
9091929394959697
statement.executeUpdate(); statement.close(); } catch (SQLException e) { logger.error("Problem creating MemoryCiscoCollector in database for session " + sessionID); throw new DBException("Problem creating MemoryCiscoCollector in database for session " + sessionID, e); } }
7374757677787980
results.close(); statement.close(); return setDisplayID; } catch (SQLException e) { logger.error("Problem creating SetDisplay in database"); throw new DBException("Problem creating SetDisplay in database", e); } }
statement.setInt(3, setDisplayID); statement.executeUpdate(); statement.close(); } catch (SQLException e) { logger.error("Problem updating SetDisplay in database"); throw new DBException("Problem updating SetDisplay in database", e); } }