@Transactional
	public NoteModel getNote(Integer noteId) {
		session = sessionFactory.openSession();
		session.beginTransaction();
		NoteModel note = (NoteModel) session.get(Note.class, noteId);
		session.getTransaction().commit();
		session.close();
		return note;
	}