public Recipe getRecipeForPallet(Pallet pallet) {
		String sql = 
				"Select quantity, rawMaterialName, recipeName "+
				"from Ingredients "+
				"where Ingredients.recipeName like ? ";

		PreparedStatement ps = null;
		try {
			ps = conn.prepareStatement(sql);
			ps.setString(1, pallet.recipeName);
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		Recipe rtn = null;
		try {
				ResultSet rs = ps.executeQuery();
				while (rs.next()) {
					if (rtn == null) {
						rtn = new Recipe(rs.getString("recipeName"), new ArrayList<Ingredient>());
					}
					rtn.ingredients.add(new Ingredient(rs.getInt("quantity"),new RawMaterial(rs.getString("rawMaterialName"))));
				}
			} catch (SQLException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			} finally {
				if(ps != null)
					try {
						ps.close();
					} catch (SQLException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
			}
		return rtn;
	}