public void addProduct(Product product) {

		try {
			beginTransaction();
			session.save(product);
			session.getTransaction().commit();
		} catch (Exception e) {
			e.printStackTrace();
		} finally {
			closeSesion();
		}
	}