public List<Product> getProductsFromBasket(int basketId) {
		List<Product> list = null;
		Basket basket = null;
		try {
			beginTransaction();
			basket = (Basket) session.get(Basket.class, basketId);
			list = basket.getProducts();
		} catch (Exception e) {
			e.printStackTrace();
		} finally {
			closeSession();
		}
		return list;
	}