public List<Product> getAll() {
		List<Product> products = null;

		try {
			beginTransaction();
			products = session.createCriteria(Product.class).list();
			session.getTransaction().commit();
		} catch (Exception e) {
			e.printStackTrace();
		} finally {
			closeSesion();
		}
		return products;
	}