public static void main(String[] args)
	{		
		setUpData();
		EntityManager em = emf.createEntityManager();
		EntityTransaction tx = em.getTransaction();
		tx.begin();
		
		// let's do some queries!
		Query q = em.createQuery("from Student as student where student.name like '%e%'");
		List<Student> allStudents = q.getResultList();
		for(Student next: allStudents){
			System.out.println(next);
		}
		tx.commit();
		em.close();
	}