public Post save(Post post) {
		try {
			entityManager.beginTransaction();
			dao.save(post);
			entityManager.commit();
		} catch (Exception e) {
			e.printStackTrace();
			entityManager.rollBack();
		}
		return post;
	}