public void writeYeast() {		
		
		//No need to do this now
		Debug.print("Write yeast called");
		
		
		try {
			PreparedStatement pStatement = conn.prepareStatement("SELECT COUNT(*) FROM Yeast WHERE name = ?;");
			
			String sql = "insert into yeast (Name,Cost,Descr) " +
					"values(?, ?,  ?  )";
			
			PreparedStatement insertMisc = conn.prepareStatement(sql);
			
			ResultSet res = null;
		
			
			// Sort the Yeast
			Collections.sort(yeastDB);
			int i = 0;
			while (i < yeastDB.size()) {
				//Item,Name,Cost,Descr,Modified
				Yeast y = yeastDB.get(i);
				i++;
				pStatement.setString(1, y.getName());
				res = pStatement.executeQuery();
				res.next();
				if(res.getInt(1) == 0) {
					
					insertMisc.setString(1, y.getName());
					insertMisc.setString(2, Double.toString(y.getCostPerU()));
					insertMisc.setString(3, y.getDescription());
					
					insertMisc.execute();
				}
			}

			

		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		 
	}