@Override
	public Product getProduct(String id) {
		Product prod;
		Session session = null;
		Transaction trx = null;
		
		try {
			session = sessionFactory.openSession();
			trx = session.beginTransaction();

			Criteria cr = session.createCriteria(Product.class);
			cr.add(Restrictions.eq("asin", id));
			
			List result = cr.list();
			Iterator it = result.iterator();
			if(it.hasNext()) return (Product)it.next();
			else return null;
		} catch(HibernateException e) {
			if(trx != null) {
				try {trx.rollback(); } catch(HibernateException he) {}
			}
		} finally {
			try { if( session != null ) session.close(); } catch( Exception exC1 ) {}
		}
		
		return null;
	}