Some notes/examples for myself on the JPA and Hibernate