@Transactional
	public void removeNote(Integer noteId) {
		session = HibernateUtil.buildSessionFactory().openSession();
		session.beginTransaction();
		Note note = (Note) session.get(Note.class, noteId);
		if (note != null) {
			session.delete(note);
		}
		session.getTransaction().commit();
		session.close();
	}