public void insert(int value, String date, String time) throws SQLException {
        query = "INSERT INTO temperature (Value, Date, Time)" +
                "VALUES ('" + value + "' ," +
                         "'" + date + "' , " +
                         "'" + time + "')";
        
        int status = 0;
        
        try {
            qryStatement = conn.createStatement();
            status = qryStatement.executeUpdate(query);
            
            System.out.println("> Data has been written");
        }
        catch(SQLException ex) {
            ex.printStackTrace();
        }
        
        System.out.println("Time: " + time);
        System.out.println("Temperature: " + String.valueOf(value));
    }