Hibernate: novice to master