public void persist(int hours, int minutes, String hostname, int noSensors) {
        query = "INSERT INTO SystemInfo (Hours, Minutes, HostName, NoSensors) " +
                "VALUES " +
                "(" 
                   + hours + ", "
                   + minutes + ", "
                   + "'" + hostname + "', "
                   + noSensors + 
                ")";
        
        int status = 0;
        
        try {
            qryStatement = conn.createStatement();
            status = qryStatement.executeUpdate(query);
            
            System.out.println("> Data has been written");
            System.out.println();
        }
        catch(SQLException ex) {
            ex.printStackTrace();
        }
    }